Draw FPS
This commit is contained in:
1 parent
a734ecaa10
commit
83243ba32f
10 files changed
+149
-8
No files matched your search
+11
-1
@@ -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.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user