NORMALIZE MATRIX: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
Mikeo (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[:Category:Matrices|{{Up}}]]
{{Command|syntax=NORMALIZE_MATRIX <matrix array>
{{Command|syntax=NORMALIZE_MATRIX <matrix array>
|description=*DESCRPTION*
|description=:Normalize a transformation matrix


|param1=<matrix array>|param1_desc={{matrix array}}
|param1=<matrix array>|param1_desc={{parameter_variable_matrix}}


}}
}}


===Example===
===Example===
:- NORMALIZE_MATRIX
:LOCAL MyMatrix(12)
:GET_IDENTITY_MATRIX MyMatrix
:MyMatrix(1) = 3
:MyMatrix(6) = 2
:NORMALIZE_MATRIX MyMatrix


[[Category:Matrices]]
[[Category:Matrices]]

Latest revision as of 18:15, 12 January 2011

Up

Command

NORMALIZE_MATRIX <matrix array>


Normalize a transformation matrix

Parameters

<matrix array>
Name of Matrix variable

Example

LOCAL MyMatrix(12)
GET_IDENTITY_MATRIX MyMatrix
MyMatrix(1) = 3
MyMatrix(6) = 2
NORMALIZE_MATRIX MyMatrix