Removed useless code

This commit is contained in:
Antoine Pilote
2023-09-06 18:49:19 -04:00
parent 8718540ac6
commit fe9a32c890
2 changed files with 0 additions and 11 deletions

View File

@@ -20,7 +20,6 @@ namespace Nuake
{
m_Vertices = vertices;
m_Indices = indices;
m_Bones = bones;
SetupMesh();
CalculateAABB();
@@ -41,11 +40,6 @@ namespace Nuake
return m_Indices;
}
std::vector<Bone>& SkinnedMesh::GetBones()
{
return m_Bones;
}
Ref<Material> SkinnedMesh::GetMaterial() inline const
{
return m_Material;
@@ -129,10 +123,6 @@ namespace Nuake
j["Material"] = m_Material->Serialize();
j["Indices"] = m_Indices;
for (uint32_t i = 0; i < m_Bones.size(); i++)
{
//j["Bones"][i] = m_Bones[i];
}
json v;
for (uint32_t i = 0; i < m_Vertices.size(); i++)
{

View File

@@ -49,7 +49,6 @@ namespace Nuake
Ref<Material> m_Material = nullptr;
std::vector<uint32_t> m_Indices;
std::vector<SkinnedVertex> m_Vertices;
std::vector<Bone> m_Bones;
Scope<VertexBuffer> m_VertexBuffer;
Scope<VertexArray> m_VertexArray;