|
@@ -2453,7 +2453,7 @@ THREE.GLTFLoader = ( function () {
|
|
// Overrides .createInterpolant in a factory method which creates custom interpolation.
|
|
// Overrides .createInterpolant in a factory method which creates custom interpolation.
|
|
if ( sampler.interpolation === 'CUBICSPLINE' ) {
|
|
if ( sampler.interpolation === 'CUBICSPLINE' ) {
|
|
|
|
|
|
- track.createInterpolant = function ( result ) {
|
|
|
|
|
|
+ track.createInterpolant = function InterpolantFactoryMethodGLTFCubicSpline( result ) {
|
|
|
|
|
|
// A CUBICSPLINE keyframe in glTF has three output values for each input value,
|
|
// A CUBICSPLINE keyframe in glTF has three output values for each input value,
|
|
// representing inTangent, splineVertex, and outTangent. As a result, track.getValueSize()
|
|
// representing inTangent, splineVertex, and outTangent. As a result, track.getValueSize()
|