formZ SDK | 5.0 API Reference | System | Math

fz_math_4x4_multiply_mat_xyzw_array

Description

Mutiplies an array of 4d points by a 4x4 matrix. Returns the resultant 4d points in the same array parameter as the input points (pts).
Unlike fz_math_4x4_multiply_mat_xyz_xyzw_array, this function uses w from the input.

Plugin Prototype

fzrt_error_td fz_math_4x4_multiply_mat_xyzw_array(

fz_mat4x4_td *

mat,

fz_xyzw_td *

pts,

fzrt_int

knt )

Parameters

mat [Input]

4x4 matrix

pts [Input, Result]

points array

knt [Input]

number of points in array

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_xy_array, fz_math_4x4_multiply_mat_unit_vec

Function Set

fz_math_fset


Defined in

fz_math_api.h