Tesla Graphics Engine Documentation (January 2012)
Lerp Method (a, b, percent, result)
Tesla
►
Tesla.Math
►
Matrix
►
Lerp(Matrix
%
, Matrix
%
, Single, Matrix
%
)
C#
Linearly interpolate between the two specified matrices.
Declaration Syntax
C#
public
static
void
Lerp
(
ref
Matrix
a
,
ref
Matrix
b
,
float
percent
,
out
Matrix
result
)
Parameters
a
(
Matrix
%
)
Starting matrix
b
(
Matrix
%
)
Ending matrix
percent
(
Single
)
Percent to interpolate by
result
(
Matrix
%
)
Existing matrix to hold result
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)