Atan2Idx

nn::math::Atan2Idx Function

Syntax

u16 Atan2Idx(
     f32 y,
     f32 x
);

Parameters

Name Description
in y Numerator of the tangent value.
in x Denominator of the tangent value.

Return Values

Returns the inverse tangent of y/x in angle units for which one complete revolution is defined as equal to 65536 units.

Description

Finds the value of the inverse tangent (arctangent).

Revision History

2010/01/07
Initial version.

CONFIDENTIAL