SIMatrix4.TransposeInPlace

Description

Transposes this matrix in place: this = Transpose(this)

Scripting Syntax

SIMatrix4.TransposeInPlace();

Examples

Python Example

#
# This example demonstrates how to transpose a
# 4x4 matrix and save it in the first matrix.
#
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.TransposeInPlace()

See Also

SIMatrix4.Transpose SIVector3 SIMatrix3 SIMatrix4 SIRotation SITransformation SIQuaternion