Browse Source

Formatting fixes

WestLangley 11 years ago
parent
commit
cfef344f9d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      examples/js/controls/DeviceOrientationControls.js

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

@@ -92,13 +92,13 @@ THREE.DeviceOrientationControls = function ( object ) {
 
 		return function ( quaternion, alpha, beta, gamma, orient ) {
 
-			euler.set( beta, alpha, - gamma, 'YXZ' );						// 'ZXY' for the device, but 'YXZ' for us
+			euler.set( beta, alpha, - gamma, 'YXZ' );                       // 'ZXY' for the device, but 'YXZ' for us
 
-			quaternion.setFromEuler( euler );								// orient the device
+			quaternion.setFromEuler( euler );                               // orient the device
 
-			quaternion.multiply( q1 );										// camera looks out the back of the device, not the top
+			quaternion.multiply( q1 );                                      // camera looks out the back of the device, not the top
 
-			quaternion.multiply( q0.setFromAxisAngle( zee, - orient ) );	// adjust for screen orientation
+			quaternion.multiply( q0.setFromAxisAngle( zee, - orient ) );    // adjust for screen orientation
 
 		}