nn::math::VEC2Dot Function

Syntax

NN_MATH_INLINE f32 VEC2Dot(
     const VEC2 * p1,
     const VEC2 * p2
);

Arguments

Name Description
in p1 Pointer to the left-hand value.
in p2 Pointer to the right-hand value.

Return Values

Returns the dot product of p1 and p2.

Description

Calculates the dot product of two vectors.


CONFIDENTIAL