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"#include "SoTransform.h"#include "SoMatrix.h"#include "SoMesh.h"#include "SoPolygon.h"#include "SoMath.h"#include "SoDisplay.h"Go to the source code of this file.
Data Structures | |
| struct | SoCamera |
| Used to render 3D stuff. More... | |
Functions | |
| void | SoCameraInitialize (SoCamera *a_This) |
| Initializes a camera. | |
| void | SoCameraForward (SoCamera *a_This, sofixedpoint a_Amount) |
| Forwards the camera by the given fixed point amount. | |
| void | SoCameraRight (SoCamera *a_This, sofixedpoint a_Amount) |
| Moves the camera to the right by the given fixed point amount. | |
| void | SoCameraUp (SoCamera *a_This, sofixedpoint a_Amount) |
| Moves the camera up by the given fixed point amount. | |
| void | SoCameraSetPitch (SoCamera *a_This, s32 a_Angle) |
| Sets the pitch of the camera. A full circle is 256 degrees. | |
| void | SoCameraSetYaw (SoCamera *a_This, s32 a_Angle) |
| Sets the yaw of the camera. A full circle is 256 degrees. | |
| void | SoCameraSetRoll (SoCamera *a_This, s32 a_Angle) |
| Sets the roll of the camera. A full circle is 256 degrees. | |
| void | SoCameraSetTranslation (SoCamera *a_This, sofixedpoint a_X, sofixedpoint a_Y, sofixedpoint a_Z) |
| Sets the translate of the camera. | |
| void | SoCameraDrawMesh (SoCamera *a_This, SoMesh *a_Mesh) |
| Draws the given mesh into the current buffer. | |
| void | SoCameraSetFarAndNearPlaneClippingEnable (SoCamera *a_This, bool a_Enable) |
| Enables or disables clipping of polygons against the far and near planes. | |
| void | SoCameraSetFrustumSidePlanesClippingEnable (SoCamera *a_This, bool a_Enable) |