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