Pārlūkot izejas kodu

Formatting fixes

Colin Ballast 10 gadi atpakaļ
vecāks
revīzija
3424cb5893
1 mainītis faili ar 5 papildinājumiem un 2 dzēšanām
  1. 5 2
      src/math/Matrix4.js

+ 5 - 2
src/math/Matrix4.js

@@ -121,7 +121,7 @@ THREE.Matrix4.prototype = {
 
 		return function ( m ) {
 
-			if ( v1 === undefined) v1 = new THREE.Vector3();
+			if ( v1 === undefined ) v1 = new THREE.Vector3();
 
 			var te = this.elements;
 			var me = m.elements;
@@ -471,7 +471,7 @@ THREE.Matrix4.prototype = {
 
 		return function ( array, offset, length ) {
 
-			if ( v1 === undefined) v1 = new THREE.Vector3();
+			if ( v1 === undefined ) v1 = new THREE.Vector3();
 			if ( offset === undefined ) offset = 0;
 			if ( length === undefined ) length = array.length;
 
@@ -680,6 +680,7 @@ THREE.Matrix4.prototype = {
 			this.identity();
 
 			return this;
+			
 		}
 
 		this.multiplyScalar( 1 / det );
@@ -876,7 +877,9 @@ THREE.Matrix4.prototype = {
 			// if determine is negative, we need to invert one scale
 			var det = this.determinant();
 			if ( det < 0 ) {
+				
 				sx = - sx;
+				
 			}
 
 			position.x = te[ 12 ];