The Socrates Gameboy Advance Development Engine
The SGADE is a development library for the Nintendo Gameboy
Advance. It's free for all uses and is distributed without guarantees.
For more information visit
the SGADE page.
#include "SoTables.h"#include "SoMath.h"#include "SoDisplay.h"Variables | |
| const sofixedpoint | g_OneOver [SO_ONE_OVER_N_MAX_N<< SO_ONE_OVER_N_INDEX_Q] |
| Reciprocal table for fast 1/N calculations. | |
| const u8 | g_Fade [SO_FADE_STEPS *256] |
| Table for fast (cross)fading. | |
| const sofixedpoint | g_SineAndCosineTable [256+64] |
| Sine and cosine table. | |
| const sofixedpoint * | g_Sine |
| For internal use only. Use the SO_SINE() macro istead. | |
| const sofixedpoint * | g_Cosine |
| For internal use only. Use the SO_COSINE() macro instead. | |
|
|
Sine and cosine table.
For internal use only.
Sine and cosine are in one table where the cosine is just a shifted version of the sine. |