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 "SoSystem.h"Go to the source code of this file.
Data Structures | |
| struct | SoMatrix |
| Matrix definition. More... | |
Functions | |
| void | SoMatrixMakeIdentity (SoMatrix *a_This) |
| Makes the given matrix an identity matrix. | |
| void | SoMatrixMakeRotationX (SoMatrix *a_This, s32 a_Angle) |
| Makes the given matrix an rotational matrix around the X-axis. | |
| void | SoMatrixMakeRotationY (SoMatrix *a_This, s32 a_Angle) |
| Makes the given matrix an rotational matrix around the Y-axis. | |
| void | SoMatrixMakeRotationZ (SoMatrix *a_This, s32 a_Angle) |
| Makes the given matrix an rotational matrix around the Z-axis. | |
| void | SoMatrixSetTranslation (SoMatrix *a_This, sofixedpoint a_X, sofixedpoint a_Y, sofixedpoint a_Z) |
| Sets the translational part of the matrix. | |
| void | SoMatrixScale (SoMatrix *a_This, sofixedpoint a_ScaleX, sofixedpoint a_ScaleY, sofixedpoint a_ScaleZ) |
| Non-uniformly scales the matrix. | |
| void | SoMatrixMultiplyBy (SoMatrix *a_This, SoMatrix *a_Matrix) |
| Multiplies the matrix by another matrix. | |
| void | SoMatrixMultiply (SoMatrix *a_This, SoMatrix *a_A, SoMatrix *a_B) |
| Multiplies two matrices, placing the result into this. | |
| void | SoMatrixMode4DebugDraw (SoMatrix *a_This) |
| Prints the matrix elements on the screen for debugging purposes. Only works in mode 4. | |