mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Removed useless code
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user