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