formZ SDK | 5.0 API Reference | System | Math

fz_math_4x4_multiply_mat_mat

Description

Multiply two 4x4 matrices. Store the result in a third matrix. Either input matrix (mat1 or mat2) can be used as the resultant matrix (dst_mat).

Plugin Prototype

fzrt_error_td fz_math_4x4_multiply_mat_mat(

fz_mat4x4_td *

mat1,

fz_mat4x4_td *

mat2,

fz_mat4x4_td *

dst_mat )

Parameters

mat1 [Input]

source 4x4 matrix 1

mat2 [Input]

source 4x4 matrix 2

dst_mat [Result]

multiplied 4x4 matrix

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_matrix.fsl

See Also

fz_math_3x3_multiply_mat_mat

Function Set

fz_math_fset


Defined in

fz_math_api.h