formZ SDK | 5.0 API Reference | System | Math

# fz_math_4x4_multiply_mat_xyzw

Description

Mutiplies a 4d point by a 4x4 matrix.
Returns the resultant 4d point in the same parameter as the input point (pt).
Unlike , this function uses w from the input.

Plugin Prototype

fzrt_error_td fz_math_4x4_multiply_mat_xyzw(

fz_mat4x4_td * | mat,
fz_xyzw_td * | pt )

Parameters

mat [Input]

4x4 matrix

pt [Input, Result]

4d point

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_matrix.fsl

See Also

, fz_math_4x4_multiply_mat_xyz_xyzw_array, fz_math_4x4_multiply_mat_xyzw_array, ,, , fz_math_4x4_multiply_mat_xy_array, fz_math_4x4_multiply_mat_unit_vec

Function Set

fz_math_fset

Defined in

fz_math_api.h