|
@@ -6,20 +6,14 @@ import { KeyframeTrack } from '../KeyframeTrack.js';
|
|
*/
|
|
*/
|
|
class BooleanKeyframeTrack extends KeyframeTrack {}
|
|
class BooleanKeyframeTrack extends KeyframeTrack {}
|
|
|
|
|
|
-Object.assign( BooleanKeyframeTrack.prototype, {
|
|
|
|
-
|
|
|
|
- ValueTypeName: 'bool',
|
|
|
|
- ValueBufferType: Array,
|
|
|
|
-
|
|
|
|
- DefaultInterpolation: InterpolateDiscrete,
|
|
|
|
-
|
|
|
|
- InterpolantFactoryMethodLinear: undefined,
|
|
|
|
- InterpolantFactoryMethodSmooth: undefined
|
|
|
|
-
|
|
|
|
- // Note: Actually this track could have a optimized / compressed
|
|
|
|
- // representation of a single value and a custom interpolant that
|
|
|
|
- // computes "firstValue ^ isOdd( index )".
|
|
|
|
-
|
|
|
|
-} );
|
|
|
|
|
|
+BooleanKeyframeTrack.prototype.ValueTypeName = 'bool';
|
|
|
|
+BooleanKeyframeTrack.prototype.ValueBufferType = Array;
|
|
|
|
+BooleanKeyframeTrack.prototype.DefaultInterpolation = InterpolateDiscrete;
|
|
|
|
+BooleanKeyframeTrack.prototype.InterpolantFactoryMethodLinear = undefined;
|
|
|
|
+BooleanKeyframeTrack.prototype.InterpolantFactoryMethodSmooth = undefined;
|
|
|
|
+
|
|
|
|
+// Note: Actually this track could have a optimized / compressed
|
|
|
|
+// representation of a single value and a custom interpolant that
|
|
|
|
+// computes "firstValue ^ isOdd( index )".
|
|
|
|
|
|
export { BooleanKeyframeTrack };
|
|
export { BooleanKeyframeTrack };
|