Tesla Graphics Engine Documentation (January 2012)
FromAxes Method (xAxis, yAxis, zAxis)
Tesla
►
Tesla.Math
►
Matrix
►
FromAxes(Vector3, Vector3, Vector3)
C#
Creates a rotation matrix from 3 orthogonal axes.
Declaration Syntax
C#
public
static
Matrix
FromAxes
(
Vector3
xAxis
,
Vector3
yAxis
,
Vector3
zAxis
)
Parameters
xAxis
(
Vector3
)
X axis (first row, right)
yAxis
(
Vector3
)
Y axis (second row, up)
zAxis
(
Vector3
)
Z axis (third row, backward)
Return Value
Rotation matrix
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)