formZ SDK | 5.0 API Reference | System | Math
Description
Creates a unit length 3d vector from two 3d points.
Plugin Prototype
fzrt_error_td fz_math_3d_create_unit_vec(
pt1, | |
pt2, | |
unit_vec ) |
Parameters
pt1 [Input]
3d point 1
pt2 [Input]
3d point 2
unit_vec [Result]
unit length 3d vector
Returns
Error codes
FZ_MATH_ERR_ZERO_LEN_VEC - the two 3d points are equal
Availability
5.0.0.0
Example Files
See Also
Function Set
Defined in