UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

27 lines (25 loc) 582 B
/** * A linear interpolation scheme. * * @type {number} * @category Math */ var CURVE_LINEAR = 0; /** * A smooth step interpolation scheme. * * @type {number} * @category Math */ var CURVE_SMOOTHSTEP = 1; /** * Cardinal spline interpolation scheme. For a Catmull-Rom spline, specify a curve tension of 0.5. * * @type {number} * @category Math */ var CURVE_SPLINE = 4; /** * A stepped interpolator that does not perform any blending. * * @type {number} * @category Math */ var CURVE_STEP = 5; export { CURVE_LINEAR, CURVE_SMOOTHSTEP, CURVE_SPLINE, CURVE_STEP };