Explorar o código

better comments

Lewy Blue %!s(int64=7) %!d(string=hai) anos
pai
achega
e7aae6ae5f
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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;