This commit is contained in:
YourWishes committed 2025-10-01 17:59:41 -05:00
1 parent a734ecaa10
commit 83243ba32f
10 files changed
+149 -8

No files matched your search

+11 -1
View File
@@ -59,10 +59,20 @@ typedef struct {
} camera_t;
/**
* Initializes a camera to default values.
* Initializes a camera to default values. This calls cameraInitPerspective.
*/
void cameraInit(camera_t *camera);
/**
* Initializes a camera for perspective projection.
*/
void cameraInitPerspective(camera_t *camera);
/**
* Initializes a camera for orthographic projection.
*/
void cameraInitOrthographic(camera_t *camera);
/**
* Pushes the camera's view matrix onto the matrix stack.
*