formZ SDK | 5.0 API Reference | System | Math

fz_math_3d_is_unit_len_vec

Description

Checks whether a 3d vector is unit length (length == 1.0).

Plugin Prototype

fzrt_boolean fz_math_3d_is_unit_len_vec(

fz_xyz_td *

vec )

Parameters

vec [Input]

3d vector to be checked

Returns

TRUE if unit length, FALSE otherwise

Availability

5.0.0.0

Example Files

util_math_3d.fsl

See Also

fz_math_3d_is_zero_len_vec, fz_math_2d_is_unit_len_vec

Function Set

fz_math_fset


Defined in

fz_math_api.h