Explorar o código

Minor code layout changes (editorial changes only)

richtr %!s(int64=11) %!d(string=hai) anos
pai
achega
49fdb26dc0
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  1. 5 5
      examples/js/controls/DeviceOrientationControls.js

+ 5 - 5
examples/js/controls/DeviceOrientationControls.js

@@ -111,10 +111,10 @@ THREE.DeviceOrientationControls = function ( object ) {
 				//
 				// 180 degrees counter-clockwise screen transformation matrix:
 				//
-				//   / -1  0  0  0  \
-				//   |  0 -1  0  0  |
-				//   |  0  0  1  0  |
-				//   \  0  0  0  1  /
+				//      / -1  0  0  0  \
+				//      |  0 -1  0  0  |
+				//      |  0  0  1  0  |
+				//      \  0  0  0  1  /
 				//
 				// (see: http://bit.ly/1dIrx0I)
 				//
@@ -190,7 +190,7 @@ THREE.DeviceOrientationControls = function ( object ) {
 
 		this.setRotationMatrixFromRotationVector( this._rotationVector );
 
-		this.remapRotationMatrixByScreenOrientation( this.screenOrientation, this._rotationMatrix);
+		this.remapRotationMatrixByScreenOrientation( this.screenOrientation, this._rotationMatrix );
 
 		this.object.quaternion.setFromRotationMatrix( this._rotationMatrix );