Tesla Graphics Engine Documentation (January 2012)
SmoothStep Method (a, b, wf, result)
Tesla
►
Tesla.Math
►
Vector4
►
SmoothStep(Vector4
%
, Vector4
%
, Single, Vector4
%
)
C#
Compute a cubic interpolation between two vectors.
Declaration Syntax
C#
public
static
void
SmoothStep
(
ref
Vector4
a
,
ref
Vector4
b
,
float
wf
,
out
Vector4
result
)
Parameters
a
(
Vector4
%
)
First vector
b
(
Vector4
%
)
Second vector
wf
(
Single
)
Weighting factor
result
(
Vector4
%
)
Existing vector to hold result
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)