xrbDS/engine/resources/mesh.cpp
2025-05-21 03:23:47 +02:00

11 lines
453 B
C++

#include "resources/mesh.h"
Mesh Mesh::Load(const TVector<FShape> &shapes,
const TVector<FMaterial> &materials,
const TVector<PtrShr<Texture>> &textures) {
return std::move(Mesh(shapes, materials, textures));
}
Mesh::Mesh(const TVector<FShape> &shapes, const TVector<FMaterial> &materials,
const TVector<PtrShr<Texture>> &textures)
: Super(), shapes(shapes), materials(materials), textures(textures) {}