#include <revolution/kpad.h> f32 KPADReviseAcc( Vec *acc );
| acc | Pointer to the vector that will be subjected to angular correction. |
|---|
The angle of rotation of the vector passed in the argument, when rotated counterclockwise as defined when facing to the positive X-direction in the Nunchuk motion sensor's coordinate system. In units of degrees.
This function corrects any user-specified vector in the same manner as the correction performed when KPADSetReviseMode is turned on.
Note: To get the sine or cosine of the correction angle, convert a (0,1,0) or (0,0,1) vector with the KPADReviseAcc function.
KPADSetReviseMode, KPADGetReviseAngle
2007/05/21 Initial version.
CONFIDENTIAL