Tesla Graphics Engine Documentation (January 2012)
FromScale Method (scale, result)
Tesla
►
Tesla.Math
►
Matrix
►
FromScale(Vector3
%
, Matrix
%
)
C#
Creates a scaling matrix from the supplied scale vector.
Declaration Syntax
C#
public
static
void
FromScale
(
ref
Vector3
scale
,
out
Matrix
result
)
Parameters
scale
(
Vector3
%
)
Scaling vector where each component corresponds to each axis to scale on
result
(
Matrix
%
)
Existing matrix to hold result
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)