Tesla Graphics Engine Documentation (January 2012)
GetRotationVector Method (rot, i)
TeslaTesla.MathQuaternionGetRotationVector(Quaternion, Int32)
Gets the row of a 3x3 rotation matrix as a vector from this quaternion (normalized).
Declaration Syntax
C#
public static Vector3 GetRotationVector(
	Quaternion rot,
	int i
)
Parameters
rot (Quaternion)
Quaternion to get the column vector from
i (Int32)
Index of column to compute, must be between 0-2
Return Value
Column vector from the 3x3 rotation matrix

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)