Tesla Graphics Engine Documentation (January 2012)
FromAngleAxis Method (angle, axis)
TeslaTesla.MathQuaternionFromAngleAxis(Single, Vector3)
Creates a quaternion from an axis and an angle to rotate about that axis.
Declaration Syntax
C#
public static Quaternion FromAngleAxis(
	float angle,
	Vector3 axis
)
Parameters
angle (Single)
Angle to rotate, in radians
axis (Vector3)
Axis to rotate around
Return Value
Resulting Quaternion

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