소스 검색

better comments

Lewy Blue 7 년 전
부모
커밋
e7aae6ae5f
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      examples/js/loaders/FBXLoader.js

+ 3 - 1
examples/js/loaders/FBXLoader.js

@@ -1808,6 +1808,8 @@
 
 			}
 
+
+			// rotated pivots - note: rotation must be applied before translation here
 			if ( 'GeometricRotation' in node.properties ) {
 
 				var array = node.properties.GeometricRotation.value.map( THREE.Math.degToRad );
@@ -1826,7 +1828,7 @@
 
 			}
 
-			// allow transformed pivots - see https://github.com/mrdoob/three.js/issues/11895
+			// translated pivots
 			if ( 'GeometricTranslation' in node.properties ) {
 
 				var array = node.properties.GeometricTranslation.value;