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

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