Browse Source

Map glTF STEP interpolation to THREE.InterpolateDiscrete

Don McCurdy 8 years ago
parent
commit
51355ac7ad
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/js/loaders/GLTFLoader.js

+ 2 - 1
examples/js/loaders/GLTFLoader.js

@@ -359,7 +359,8 @@ THREE.GLTFLoader = ( function () {
 	};
 	};
 
 
 	var INTERPOLATION = {
 	var INTERPOLATION = {
-		LINEAR: THREE.InterpolateLinear
+		LINEAR: THREE.InterpolateLinear,
+		STEP: THREE.InterpolateDiscrete
 	};
 	};
 
 
 	/* UTILITY FUNCTIONS */
 	/* UTILITY FUNCTIONS */