nn::math::VEC2LenSq Function

Syntax

NN_MATH_INLINE f32 VEC2LenSq(
     const VEC2 * p
);

Parameters

Name Description
in p Pointer to the input vector.

Return Values

Returns the square of the length of p.

Description

Calculates the square of a vector length.


CONFIDENTIAL