Tesla Graphics Engine Documentation (January 2012)
SmoothStep Method (a, b, percent)
Tesla
►
Tesla.Math
►
MathUtils
►
SmoothStep(Single, Single, Single)
C#
Interpolates between two values using a cubic equation.
Declaration Syntax
C#
public
static
float
SmoothStep
(
float
a
,
float
b
,
float
percent
)
Parameters
a
(
Single
)
Starting value
b
(
Single
)
Ending value
percent
(
Single
)
Amount to interpolate
Return Value
Interpolated value
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)