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