Tesla Graphics Engine Documentation (January 2012)
CatmullRom Method (a, b, c, d, wf)
Tesla
►
Tesla.Math
►
Vector4
►
CatmullRom(Vector4, Vector4, Vector4, Vector4, Single)
C#
Compute Catmull-Rom interpolation using the the specified positions.
Declaration Syntax
C#
public
static
Vector4
CatmullRom
(
Vector4
a
,
Vector4
b
,
Vector4
c
,
Vector4
d
,
float
wf
)
Parameters
a
(
Vector4
)
First position
b
(
Vector4
)
Second position
c
(
Vector4
)
Third position
d
(
Vector4
)
Fourth position
wf
(
Single
)
Weighting factor
Return Value
Resulting interpolated vector
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)