fromHeadingPitchRoll

fun fromHeadingPitchRoll(headingPitchRoll: HeadingPitchRoll, result: Matrix3? = definedExternally): Matrix3(source)

Computes a 3x3 rotation matrix from the provided headingPitchRoll. (see http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles )

Return

The 3x3 rotation matrix from this headingPitchRoll.

Parameters

headingPitchRoll

the headingPitchRoll to use.

result

The object in which the result will be stored, if undefined a new instance will be created.

See also