formZ SDK | 5.0 API Reference | System | Math
Description
Given a 2d vector, returns the perpendicular 2d vector.
This is equivalent to the cross product of two 3d vectors.
The resulting vector is NOT normalized.
Note : vec and norm can be passed as the same pointer.
Plugin Prototype
fzrt_error_td fz_math_2d_perp_vec(
fz_xy_td * | vec, |
fz_xy_td * | norm ) |
Parameters
vec [Input]
2d vector
norm [Result]
perpendicular 2d vector (not normalized)
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in