Did stuff

This commit is contained in:
Thomas FORGIONE 2015-07-07 15:07:42 +02:00
parent da2a972492
commit 96c2d2b20a
2 changed files with 4 additions and 3 deletions

View File

@ -57,8 +57,9 @@ L3D.PointerCamera = function() {
* Current position of the camera (optical center)
* @type {THREE.Vector}
*/
// We use copy because THREE.Object3D.position is immutable
this.position.copy(new THREE.Vector3());
// This line has no effect since this.position is immutable.
// It's here for documenting purpose
this.position = new THREE.Vector3();
/**
* Current direction of the camera