Core Function CatmullRom

From Sputnik Wiki
Jump to: navigation, search
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
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox