浏览代码

remove old code

Lewy Blue 7 年之前
父节点
当前提交
a67904c008
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 0 7
      examples/js/loaders/FBXLoader.js

+ 0 - 7
examples/js/loaders/FBXLoader.js

@@ -1099,13 +1099,6 @@
 
 
 			var normalAttribute = new THREE.Float32BufferAttribute( normalBuffer, 3 );
 			var normalAttribute = new THREE.Float32BufferAttribute( normalBuffer, 3 );
 
 
-			// var normalsPreTransform = preTransform.clone().setPosition( new THREE.Vector3() );
-
-			// // required when preTransform has a non-uniform scale component
-			// normalsPreTransform.getInverse( normalsPreTransform ).transpose();
-
-			// normalsPreTransform.applyToBufferAttribute( normalAttribute );
-
 			var normalMatrix = new THREE.Matrix3().getNormalMatrix( preTransform );
 			var normalMatrix = new THREE.Matrix3().getNormalMatrix( preTransform );
 			normalMatrix.applyToBufferAttribute( normalAttribute );
 			normalMatrix.applyToBufferAttribute( normalAttribute );