formZ SDK | 5.0 API Reference | System | Math
Description
Given a 2d vector, creates the normalized (unit) 2d vector.
Note : vec and unit_vec can be passed as the same pointer.
Plugin Prototype
fzrt_error_td fz_math_2d_normalize_vec(
fz_xy_td * | vec, |
fz_xy_td * | unit_vec ) |
Parameters
vec [Input]
2d vector
unit_vec [Result]
normalized 2d vector
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in