Lewy Blue 7 năm trước cách đây
mục cha
commit
4daa88ba79
1 tập tin đã thay đổi với 0 bổ sung20 xóa
  1. 0 20
      examples/js/loaders/FBXLoader.js

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

@@ -1808,26 +1808,6 @@
 
 			}
 
-
-			// 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 );
-
-				model.traverse( function ( child ) {
-
-					if ( child.geometry ) {
-
-						child.geometry.rotateX( array[ 0 ] );
-						child.geometry.rotateY( array[ 1 ] );
-						child.geometry.rotateZ( array[ 2 ] );
-
-					}
-
-				} );
-
-			}
-
 			// translated pivots
 			if ( 'GeometricTranslation' in node.properties ) {