Tesla Graphics Engine Documentation (January 2012)
SmoothStep Method (a, b, wf)
Tesla
►
Tesla.Math
►
Vector2
►
SmoothStep(Vector2, Vector2, Single)
C#
Compute a cubic interpolation between two vectors.
Declaration Syntax
C#
public
static
Vector2
SmoothStep
(
Vector2
a
,
Vector2
b
,
float
wf
)
Parameters
a
(
Vector2
)
First vector
b
(
Vector2
)
Second vector
wf
(
Single
)
Weighting factor
Return Value
Resulting interpolated vector
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)