nn::math::VEC3Sub Function

Syntax

VEC3 * VEC3Sub(
     VEC3 * pOut,
     const VEC3 * p1,
     const VEC3 * 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 left-hand value.
in p2 Pointer to the right-hand value.

Return Values

Returns pOut.

Description

Calculates the result of vector subtraction.


CONFIDENTIAL