formZ SDK | 5.0 API Reference | System | Math
Description
Mutiplies an array of 3d points by a 4x4 matrix.
Returns the resultant 4d points in the same array parameter as the input points (pts).
Note : although an array of 4d points, only x, y and z are used from
the input points.
Since multiplying a 3d point by a 4x4 results in a 4x1 vector,
the w of the output point is calculated.
Plugin Prototype
fzrt_error_td fz_math_4x4_multiply_mat_xyz_xyzw_array(
mat, | |
pts, | |
fzrt_int | knt ) |
Parameters
mat [Input]
4x4 matrix
pts [Input, Result]
points array
w not used on input
knt [Input]
number of points in array
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
, , fz_math_4x4_multiply_mat_xyzw_array, ,, , fz_math_4x4_multiply_mat_xy_array, fz_math_4x4_multiply_mat_unit_vec
Function Set
Defined in