nn::math::QUATScale Function

Syntax

NN_MATH_INLINE QUAT * QUATScale(
     QUAT * pOut,
     const QUAT * q,
     f32 scale
);

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 quaternion as q.
in q Pointer to the left-hand value.
in scale Number to multiply by.

Return Values

Returns pOut.

Description

Multiplies a quaternion by a real number.


CONFIDENTIAL