Tesla Graphics Engine Documentation (January 2012)
FromAngleAxis Method (angle, axis, result)
Tesla
►
Tesla.Math
►
Matrix
►
FromAngleAxis(Single, Vector3
%
, Matrix
%
)
C#
Creates a rotation matrix from a supplied angle in radians and axis to rotate about.
Declaration Syntax
C#
public
static
void
FromAngleAxis
(
float
angle
,
ref
Vector3
axis
,
out
Matrix
result
)
Parameters
angle
(
Single
)
Angle in radians
axis
(
Vector3
%
)
Axis to rotate about
result
(
Matrix
%
)
Existing matrix to hold result
Assembly:
Tesla
(Module: Tesla) Version: 0.5.0.0 (0.5.0.0)