Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
174
11.17.4.25 MML_GDC_2D_MATRIX_API void utMat4x3Multiply ( Mat4x3 dst, const Mat4x3 src1,
const Mat4x3 src2 )
Multiply 2 matrices.
Parameters
out
dst
The destination matrix.
in
src1
The first source matrix.
in
src2
The second source matrix.
11.17.4.26 MML_GDC_2D_MATRIX_API void utMat4x4Copy ( Mat4x4 dst, const Mat4x4 src )
Copy the content of a 4x4-matrix to a new one.
Parameters
out
dst
The destination matrix.
in
src
The source matrix.
11.17.4.27 MML_GDC_2D_MATRIX_API void utMat4x4GetXYZ ( Mat4x4 m, float x, float y, float z,
float
∗
xout, float
∗
yout, float
∗
zout )
Calculate the target position for a given matrix and source position.
Parameters
in
m
The matrix.
in
x
Source x position.
in
y
Source y position.
in
z
Source z position.
out
xout
Pointer to the destination x position.
out
yout
Pointer to the destination y position.
out
zout
Pointer to the destination z position.
11.17.4.28 MML_GDC_2D_MATRIX_API void utMat4x4LoadIdentity ( Mat4x4 m )
Fill a 4x4-matrix with a unit matrix.
Parameters
in,out
m
The matrix to modify.
11.17.4.29 MML_GDC_2D_MATRIX_API void utMat4x4Multiply ( Mat4x4 dst, const Mat4x4 src1,
const Mat4x4 src2 )
Multiply 2 4x4-matrices. The resulting matrix represents dst = src1
∗
src2.
Parameters
out
dst
The destination matrix.
in
src1
The first source matrix.
in
src2
The second source matrix.