この行列を転置して置き換えます(this = Transpose(this))。
SIMatrix4.TransposeInPlace(); |
SIMatrix4.TransposeInPlace(); |
# # 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() |