improbed box rendering

This commit is contained in:
devZoGok
2021-10-19 19:06:42 +03:00
parent 931a1a0031
commit c066b5f803
6 changed files with 21 additions and 5 deletions
+1
View File
@@ -128,6 +128,7 @@ namespace vb01{
if(node){
pos = node->localToGlobalPosition(Vector3::VEC_ZERO);
orient = node->localToGlobalOrientation(Quaternion::QUAT_W);
scale = node->getScale();
camPos = cam->getPosition();
}