nn::math::VEC4Normalize Function

Syntax

NN_MATH_INLINE VEC4 * VEC4Normalize(
     VEC4 * pOut,
     const VEC4 * p
);

Arguments

Name Description
out pOut Pointer to the buffer that receives the result of the calculation. It is not a problem if this points to the same vector as p.
in p Pointer to the input vector.

Return Values

Returns pOut.

Description

Normalizes a vector.


CONFIDENTIAL