What happens is that you want to add some rotation to the current orientation, and setting a variable looker.rotation.zmeans another thing.
, looker, - (: , ):
this.matrix.multiply( makeXRotationMatrix(this.rotation.x) )
this.matrix.multiply( makeYRotationMatrix(this.rotation.y) )
this.matrix.multiply( makeZRotationMatrix(this.rotation.z) )
DrawGeometry(this.geom, this.matrix)
. , , .
, rotateX (angle), rotateY (angle), rotateZ (angle) rotateOnAxis (axis, angle). axis THREE.Vector3.
looker.rotation.z , (, , , T*R*G is R otating the G eometry, T ).
:
looker.rotation.z += 0.05;
looker.rotateZ (0.05);
looker.rotateX (0.05);
. , :)