GenerateRotationMatrix

Revision as of 00:24, 10 August 2010 by imported>DragoonWraith
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(rotationMat:array) GenerateRotationMatrix axis:axis angle:float 
(rotationMat:array) RotMat axis:axis angle:float

Returns a 3×3 square matrix that can serve as a rotation matrix about the specified axis. Rotation matrices are always invertible, and their inverse is equal to their transpose.