Skip to content

Commit

Permalink
initialize Transform.m_parent
Browse files Browse the repository at this point in the history
  • Loading branch information
SArpnt committed Aug 20, 2021
1 parent 2b42239 commit 4e3e17a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cinnabar-engine/cinnabar-core/transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
#include <glm/gtc/matrix_transform.hpp>

ce::Transform::Transform()
: m_pos(0.0f, 0.0f, 0.0f), m_rot(0.0f, 0.0f, 0.0f),
: m_parent(NULL),
m_pos(0.0f, 0.0f, 0.0f),
m_rot(0.0f, 0.0f, 0.0f),
m_scale(1.0f, 1.0f, 1.0f) {}

ce::Transform::~Transform() {}
Expand Down

0 comments on commit 4e3e17a

Please sign in to comment.