nn::math::VEC2Scale Function

Syntax

VEC2 * VEC2Scale(
     VEC2 * pOut,
     const VEC2 * p,
     f32 scale
);

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

Return Values

Returns pOut.

Description

Calculates a scalar multiple of a vector.


CONFIDENTIAL