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 "SoVector.h"Go to the source code of this file.
Data Structures | |
| struct | SoPolygon |
| Polygon structure definition. More... | |
Defines | |
| #define | SO_POLYGON_MAX_NUM_VERTICES |
| Maximum number of vertices in a polygon. | |
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. | |