Преглед изворни кода

Map glTF STEP interpolation to THREE.InterpolateDiscrete

Don McCurdy пре 8 година
родитељ
комит
51355ac7ad
1 измењених фајлова са 2 додато и 1 уклоњено
  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 */