浏览代码

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;