2
0
Эх сурвалжийг харах

Map glTF STEP interpolation to THREE.InterpolateDiscrete

Don McCurdy 8 жил өмнө
parent
commit
51355ac7ad

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

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