2.2.3.3 Mil4x4Matrix

The Mil4x4Matrix structure specifies a 4x4 matrix used for transformations in 3-D space.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

m11

m12

m13

m14

m21

m22

m23

m24

m31

m32

m33

m34

offsetX

offsetY

offsetZ

m44

m11 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 1 column 1.

m12 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 1 column 2.

m13 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 1 column 3.

m14 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 1 column 4.

m21 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 2 column 1.

m22 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 2 column 2.

m23 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 2 column 3.

m24 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 2 column 4.

m31 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 3 column 1.

m32 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 3 column 2.

m33 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 3 column 3.

m34 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 3 column 4.

offsetX (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 4 column 1. This value represents the translation along the X-axis.

offsetY (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 4 column 2. This value represents the translation along the Y-axis.

offsetZ (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 4 column 3. This value represents the translation along the Z-axis.

m44 (4 bytes): A 4-byte floating-point number. The value of the matrix's cell referenced by row 4 column 4.