Explorar el Código

Merge pull request #10308 from donmccurdy/feat-gltf-step-interpolation

Map glTF STEP interpolation to THREE.InterpolateDiscrete
Mr.doob hace 8 años
padre
commit
c2be5f5aba
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      examples/js/loaders/GLTFLoader.js

+ 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 */