SinCosIdx

nn::math::SinCosIdx Function

Syntax

void SinCosIdx(
     f32 * s,
     f32 * c,
     u16 idx
);

Parameters

Name Description
out s Pointer to the buffer that stores the sine.
out c Pointer to the buffer that stores the cosine.
in idx Angle (in units for which one complete revolution is defined as equal to 65536).

Return Values

None.

Description

Finds the sine and cosine.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL