Переглянути джерело

GLTFExporter: Update comment for cubic spline interpolant

Takahiro 7 роки тому
батько
коміт
879be34ad7
1 змінених файлів з 4 додано та 2 видалено
  1. 4 2
      examples/js/exporters/GLTFExporter.js

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

@@ -958,9 +958,11 @@ THREE.GLTFExporter.prototype = {
 
 				var interpolation;
 
+				// @TODO export CubicInterpolant(InterpolateSmooth) as CUBICSPLINE
+
 				// 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 ) {
 
 					interpolation = 'CUBICSPLINE';