浏览代码

comment out debug code.

Ben Houston 11 年之前
父节点
当前提交
662057b5d8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      test/unit/math/Matrix4.js

+ 2 - 2
test/unit/math/Matrix4.js

@@ -284,13 +284,13 @@ test( "compose/decompose", function() {
 
 				var m2 = new THREE.Matrix4().compose( t2, r2, s2 );
 			
-				// self-inverse should the same as inverse
 				var matrixIsSame = matrixEquals4( m, m2 );
+				/* debug code
 				if( ! matrixIsSame ) {
 					console.log( t, s, r );
 					console.log( t2, s2, r2 );
 					console.log( m, m2 );
-				}
+				}*/
 				ok( matrixEquals4( m, m2 ), "Passed!" );
 
 			}