formZ SDK | 5.0 API Reference | System | Math

fz_math_2d_is_unit_len_vec

Description

Checks whether a 2d vector is equal to the unit length (unit length equals 1.0).

Plugin Prototype

fzrt_boolean fz_math_2d_is_unit_len_vec(

fz_xy_td *

vec )

Parameters

vec [Input]

2d vector to be checked

Returns

TRUE if equal to the unit length, FALSE otherwise

Availability

5.0.0.0

Example Files

util_math_2d.fsl

See Also

,

Function Set

fz_math_fset


Defined in

fz_math_api.h