Sets this matrix to the identity matrix: this = id
SIMatrix4.SetIdentity(); |
SIMatrix4.SetIdentity(); |
'
' This example demonstrates how to set a matrix to the identity matrix
'
dim m1 : set m1 = XSIMath.CreateMatrix4(_
1.0, 2.0, 3.0, 4.0, _
5.0, 6.0, 7.0, 8.0, _
9.0, 10.0, 11.0, 12.0, _
13.0, 14.0, 15.0, 16.0)
m1.SetIdentity
|