Browse Source

GLTFExporter: Update comment for cubic spline interpolant

Takahiro 7 years ago
parent
commit
879be34ad7
1 changed files with 4 additions and 2 deletions
  1. 4 2
      examples/js/exporters/GLTFExporter.js

+ 4 - 2
examples/js/exporters/GLTFExporter.js

@@ -958,9 +958,11 @@ THREE.GLTFExporter.prototype = {
 
 
 				var interpolation;
 				var interpolation;
 
 
+				// @TODO export CubicInterpolant(InterpolateSmooth) as CUBICSPLINE
+
 				// Detecting glTF cubic spline interpolant by checking factory method's special property
 				// Detecting glTF cubic spline interpolant by checking factory method's special property
-				// GLTFCubicSplineInterpolant is a custom interpolant and doesn't return
-				// valid value from track.getInterpolation().
+				// GLTFCubicSplineInterpolant is a custom interpolant and track doesn't return
+				// valid value from .getInterpolation().
 				if ( track.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline === true ) {
 				if ( track.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline === true ) {
 
 
 					interpolation = 'CUBICSPLINE';
 					interpolation = 'CUBICSPLINE';