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 "SoMesh.h"#include "SoMath.h"#include "SoDebug.h"Functions | |
| SoImage * | SoMeshGetTexture (SoMesh *a_This) |
| Returns the texture this mesh is using. | |
| u32 | SoMeshGetNumVertices (SoMesh *a_This) |
| Returns the number of vertices in the mesh. | |
| u32 | SoMeshGetNumPolygons (SoMesh *a_This) |
| Returs the number of polygons in the mesh. | |
| SoVector3 * | SoMeshGetVertex (SoMesh *a_This, u32 a_Index) |
| Returns a single vertex of the mesh. | |
| SoPolygon * | SoMeshGetPolygon (SoMesh *a_This, u32 a_Index) |
| Returns a single vertex of the mesh. | |
| SoTransform * | SoMeshGetTransform (SoMesh *a_This) |
| Returns the transform of the mesh. | |
| void | SoMeshSetTexture (SoMesh *a_This, SoImage *a_Texture) |
| Sets the texture of the mesh. | |