nn::math::VEC2Mult Function

Syntax

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

Parameters

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 left-hand value.
in p2 Pointer to the right-hand value.

Return Values

Returns pOut.

Description

Calculates the product of two vectors.


CONFIDENTIAL