formZ SDK | 5.0 API Reference | System | Math
Description
Transforms a 2d unit vector by a 3x3 matrix.
If no_scale is TRUE, it assumes the matrix contains translation
and rotation only and the result vector is not normalized again.
If no_scale is to FALSE, the result vector is normzlized.
If in doubt whether the matix contains a scale factor, set no_scale to FALSE.
Plugin Prototype
fzrt_error_td fz_math_3x3_multiply_mat_unit_vec(
mat, | |
fz_xy_td * | unit_vec, |
no_scale ) |
Parameters
mat [Input]
3x3 matrix
unit_vec [Input, Result]
2d unit vector
no_scale [Input]
TRUE if matrix doesn't contain a scale factor, FALSE if matrix does contain a scale factor
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
fz_math_4x4_multiply_mat_unit_vec
Function Set
Defined in