Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/Mesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class Mesh : public MeshUnmanaged {
other.animNormals = nullptr;
other.boneIndices = nullptr;
other.boneWeights = nullptr;
other.boneCount = 0;
other.vaoId = 0;
other.vboId = nullptr;
}
Expand All @@ -75,6 +76,7 @@ class Mesh : public MeshUnmanaged {
other.animNormals = nullptr;
other.boneIndices = nullptr;
other.boneWeights = nullptr;
other.boneCount = 0;
other.vaoId = 0;
other.vboId = nullptr;

Expand Down
2 changes: 2 additions & 0 deletions include/MeshUnmanaged.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ class MeshUnmanaged : public ::Mesh {
GETTERSETTER(float*, AnimNormals, animNormals)
GETTERSETTER(unsigned char*, BoneIndices, boneIndices)
GETTERSETTER(float*, BoneWeights, boneWeights)
GETTERSETTER(int, BoneCount, boneCount)
GETTERSETTER(unsigned int, VaoId, vaoId)
GETTERSETTER(unsigned int*, VboId, vboId)

Expand Down Expand Up @@ -243,6 +244,7 @@ class MeshUnmanaged : public ::Mesh {
animNormals = mesh.animNormals;
boneIndices = mesh.boneIndices;
boneWeights = mesh.boneWeights;
boneCount = mesh.boneCount;
vaoId = mesh.vaoId;
vboId = mesh.vboId;
}
Expand Down
Loading