VEC3Dist

nn::math::VEC3Dist Function

Syntax

f32 VEC3Dist(
     const VEC3 * p1,
     const VEC3 * p2
);

Parameters

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

Return Values

Returns the distance between p1 and p2.

Description

Calculates the distance between two vectors.


CONFIDENTIAL