forked from playcanvas/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
44 lines (44 loc) · 1.09 KB
/
constants.js
File metadata and controls
44 lines (44 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* @constant
* @type {number}
* @name CURVE_LINEAR
* @description A linear interpolation scheme.
*/
export const CURVE_LINEAR = 0;
/**
* @constant
* @type {number}
* @name CURVE_SMOOTHSTEP
* @description A smooth step interpolation scheme.
*/
export const CURVE_SMOOTHSTEP = 1;
/**
* @deprecated
* @constant
* @type {number}
* @name CURVE_CATMULL
* @description A Catmull-Rom spline interpolation scheme. This interpolation scheme is deprecated. Use CURVE_SPLINE instead.
*/
export const CURVE_CATMULL = 2;
/**
* @deprecated
* @constant
* @type {number}
* @name CURVE_CARDINAL
* @description A cardinal spline interpolation scheme. This interpolation scheme is deprecated. Use CURVE_SPLINE instead.
*/
export const CURVE_CARDINAL = 3;
/**
* @constant
* @type {number}
* @name CURVE_SPLINE
* @description Cardinal spline interpolation scheme. For Catmull-Rom, specify curve tension 0.5.
*/
export const CURVE_SPLINE = 4;
/**
* @constant
* @type {number}
* @name CURVE_STEP
* @description A stepped interpolator, free from the shackles of blending.
*/
export const CURVE_STEP = 5;