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 "SoPolygon.h"#include "SoDebug.h"Functions | |
| SoVector2 * | SoPolygonGetTextureCoordinates (SoPolygon *a_This) |
| To get the array of texture coordinates of the polygon. | |
| u32 | SoPolygonGetVertexIndex (SoPolygon *a_This, u32 a_Index) |
| To get a single vertex from the polygon. | |
| u32 | SoPolygonGetNumVertices (SoPolygon *a_This) |
| To get the number of vertices in the polygon. | |
| u32 | SoPolygonGetPaletteIndex (SoPolygon *a_This) |
| To get the color of the polygon. | |
| void | SoPolygonSetPaletteIndex (SoPolygon *a_This, u32 a_PaletteIndex) |
| To set the color of the polygon. | |