changed one line.

beta.r3js.org
polygonboutique 2016-11-04 15:02:53 +01:00
parent 12ca785b42
commit a0a9d6e45d
1 changed files with 1 additions and 10 deletions

View File

@ -17,15 +17,6 @@ GameLib.D3.ComponentCamera.prototype.onLateUpdate = function(
deltaTime,
parentEntity
) {
var quat = new THREE.Quaternion(
parentEntity.quaternion.x,
parentEntity.quaternion.y,
parentEntity.quaternion.z,
parentEntity.quaternion.w
);
this.threeCamera.quaternion.copy(quat);
this.threeCamera.quaternion.copy(parentEntity.quaternion);
this.threeCamera.position.copy(parentEntity.position);
};