nn::math::QUATDot Function

Syntax

NN_MATH_INLINE f32 QUATDot(
     const QUAT * q1,
     const QUAT * q2
);

Parameters

Name Description
in q1 Pointer to the left-hand value.
in q2 Pointer to the right-hand value.

Return Values

Returns the dot product of q1 and q2.

Description

Calculates the dot product of two quaternions.


CONFIDENTIAL