Added mesh generator functions
Added Mesh::Build Former-commit-id: dcfc6587b67ab4ec350ab7ca04ae7f45475f6b1b
This commit is contained in:
@@ -33,6 +33,7 @@ struct NAZARA_API NzMeshParams
|
||||
};
|
||||
|
||||
class NzAnimation;
|
||||
class NzPrimitiveList;
|
||||
class NzMesh;
|
||||
|
||||
typedef NzVertexStruct_XYZ_Normal_UV_Tangent NzMeshVertex;
|
||||
@@ -54,6 +55,8 @@ class NAZARA_API NzMesh : public NzResource, NzResourceListener
|
||||
bool AddSubMesh(NzSubMesh* subMesh);
|
||||
bool AddSubMesh(const NzString& identifier, NzSubMesh* subMesh);
|
||||
|
||||
void Build(const NzPrimitiveList& list, const NzMeshParams& params = NzMeshParams());
|
||||
|
||||
bool CreateSkeletal(unsigned int jointCount);
|
||||
bool CreateStatic();
|
||||
void Destroy();
|
||||
|
||||
Reference in New Issue
Block a user