nn::math::VEC2Minimize Function

Syntax

NN_MATH_INLINE VEC2 * VEC2Minimize(
     VEC2 * pOut,
     const VEC2 * p1,
     const VEC2 * p2
);

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 p1 and/or p2.
in p1 Pointer to the first input vector.
in p2 Pointer to the second input vector.

Return Values

Returns pOut.

Description

Creates the vector formed by the smaller of each component of two input vectors.


CONFIDENTIAL