Go to the source code of this file.
Variables | |
| const u16 | gMath_SinQuarter [256] |
| A quarter-wave sine table, scaled by 65536. | |
| const u16 | gMath_TwoPiSteps [8] |
| floor(i * 2π) | |
| const s32 | gMath_QuadrantSin [4] |
| The sine at 0, 90, 180 and 270 degrees, in Q16. | |
| const u16 | gMath_TanTable [258] |
| Tangents scaled by 256: index i is tan(i * 45 / 128 degrees), so index 128 is tan(45 degrees). | |
| const u16 gMath_SinQuarter[256] |
A quarter-wave sine table, scaled by 65536.
Definition at line 7 of file math_table.c.
| const u16 gMath_TwoPiSteps[8] |
floor(i * 2π)
Definition at line 43 of file math_table.c.
| const s32 gMath_QuadrantSin[4] |
The sine at 0, 90, 180 and 270 degrees, in Q16.
Definition at line 48 of file math_table.c.
| const u16 gMath_TanTable[258] |
Tangents scaled by 256: index i is tan(i * 45 / 128 degrees), so index 128 is tan(45 degrees).
ArcTan2 starts its binary search at index 127.
Definition at line 55 of file math_table.c.
Referenced by ArcTan2().