computeCatmullRomSpline
Constants
Functions
sample : Array.<number>
Kind: global constant
p0 : Array.<number>
Kind: global constant
p1 : Array.<number>
Kind: global constant
p2 : Array.<number>
Kind: global constant
p3 : Array.<number>
Kind: global constant
computeCatmullRomSpline(result, input, input_length, dimensions, sample_count, [alpha])
Kind: global function
Param | Type | Default | Description |
---|---|---|---|
result | Array.<number> | ||
input | Array.<number> | ||
input_length | number | number of points in the input | |
dimensions | number | number of dimensions per vertex | |
sample_count | number | number of discrete points to be generated | |
[alpha] | number | 0.5 | parameter for control point weights (see non-parametric catmull-rom for details on "alpha" definition) |