Lewy Blue 7 years ago
parent
commit
4daa88ba79
1 changed files with 0 additions and 20 deletions
  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
 			// translated pivots
 			if ( 'GeometricTranslation' in node.properties ) {
 			if ( 'GeometricTranslation' in node.properties ) {