copy m_aabb in copy constructor
This commit is contained in:
parent
9a483990a2
commit
e6a41718b7
@ -143,6 +143,7 @@ Engine::Object::Object(const Engine::Object & orig)
|
||||
m_obj_refcnt = orig.m_obj_refcnt;
|
||||
if (m_obj_refcnt)
|
||||
(*m_obj_refcnt)++;
|
||||
memcpy(m_aabb, orig.m_aabb, sizeof(m_aabb));
|
||||
}
|
||||
|
||||
Engine::Object::~Object()
|
||||
|
Loading…
x
Reference in New Issue
Block a user