diff --git a/src/game-lib-component-entity-parent.js b/src/game-lib-component-entity-parent.js index 6ecfd92..0706dbc 100644 --- a/src/game-lib-component-entity-parent.js +++ b/src/game-lib-component-entity-parent.js @@ -28,9 +28,9 @@ GameLib.D3.ComponentEntityParent = function ComponentEntityParent( //#ifdef RUNTIME__ -if(typeof THREE != "undefined") { +if(typeof THREE !== "undefined") { ComponentEntityParent_TmpVector = new THREE.Vector3(); - ComponentEntityParent_TmpQuaternion = new THREE.Vector3(); + ComponentEntityParent_TmpQuaternion = new THREE.Quaternion(); } ///////////////////////// Methods to override //////////////////////////