Quaternion GetMatrix

From GECK
Jump to: navigation, search


A function added by the ShowOff NVSE Plugin version 1.40.

Description

Returns the 3x3 Rotation Matrix associated with the given Quaternion.

The quaternion array must be laid out as such: [w, x, y, z].

Syntax

[help]
(rotMatrix:array) Quaternion_GetMatrix quaternion:array_var 

Or:

(rotMatrix:array) Quat_GetMat quaternion:array_var 

See Also