Difference between revisions of "GenerateRotationMatrix"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>CSbot
(Automated import of articles)
 
imported>DragoonWraith
 
Line 1: Line 1:
{{BotAddedPage|CSbot|DragoonWraith}}
{{Function
{{Function
  | origin = OBSE
  | origin = OBSE
Line 19: Line 18:
[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (OBSE)]]
[[Category:Functions (OBSE)]]
[[Category:Functions (OBSE v0019)]]
[[Category:Math Functions]]
[[Category:Math Functions]]
[[Category:Math Functions (OBSE)]]
[[Category:Math Functions (OBSE)]]
[[Category:Linear Algebra Functions (OBSE)]]
[[Category:Linear Algebra Functions (OBSE)]]

Latest revision as of 00:24, 10 August 2010

< [[::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.