Any collision meshes we have should be working, and RawModels should be released after being loaded.
This commit is contained in:
@@ -17,13 +17,7 @@ private:
|
||||
public:
|
||||
~Model();
|
||||
const std::vector<RawModel::MaterialProperties>& MaterialGroups() const { return m_Materials; }
|
||||
//const RawModel::Vertex* Vertices() const { return m_RawModel->Vertices(); }
|
||||
unsigned int NumberOfVertices() const { return m_Vertices.size(); }
|
||||
//size_t NumberOfVertices() const { return m_RawModel->NumVertices(); }
|
||||
//const std::vector<unsigned int>& Indices() const { return m_RawModel->Indices(); }
|
||||
|
||||
//const RawModel::Vertex* CollisionVertices() const { return m_RawModel->CollisionVertices(); }
|
||||
//const std::vector<unsigned int>& CollisionIndices() const { return m_RawModel->CollisionIndices(); }
|
||||
|
||||
const AABB& Box() const { return m_Box; }
|
||||
bool IsSkinned() const { return m_IsSkinned; }
|
||||
|
||||
Reference in New Issue
Block a user