Core Function CatmullRom
From Sputnik Wiki
(Difference between revisions)
(Created page with "<pre> CatmullRom( <value1>, <value2>, <value3>, <value4>, <amount> ) </pre> === Description === Performs a Catmull-Rom interpolation using the specified positions === Paramete...") |
m (1 revision) |
Revision as of 21:41, 11 August 2014
CatmullRom( <value1>, <value2>, <value3>, <value4>, <amount> )
Contents |
Description
Performs a Catmull-Rom interpolation using the specified positions
Parameters
value1
The first position in the interpolation.
value2
The second position in the interpolation.
value3
The third position in the interpolation.
value4
The fourth position in the interpolation.
amount
Weighting factor.
Return Value
A position that is the result of the Catmull-Rom interpolation.
Remarks
None.
Example
say CatmullRom(10, 20, 30, 100, 200); // 238802020