Testing SDL support

This commit is contained in:
2021-08-14 12:02:34 -07:00
parent dc5a4d4f73
commit 18152a0814
11 changed files with 234 additions and 53 deletions

View File

@ -46,11 +46,11 @@ void cameraLook(camera_t *camera,
* @param camera The camera to project.
* @param fov The field of view of the camera (in degrees).
* @param aspect The aspect ratio of the camera (w / h)
* @param near The near plane clip.
* @param far the far plane clip.
* @param camNear The near plane clip.
* @param camFar the far plane clip.
*/
void cameraPerspective(camera_t *camera,
float fov, float aspect, float near, float far
float fov, float aspect, float camNear, float camFar
);
/**
@ -60,9 +60,9 @@ void cameraPerspective(camera_t *camera,
* @param left The left side of the viewport.
* @param right The right side of the viewport.
* @param bottom The bottom side of the viewport.
* @param near The near plane clip.
* @param far the far plane clip.
* @param camNear The near plane clip.
* @param camFar the far plane clip.
*/
void cameraOrtho(camera_t *camera,
float left, float right, float bottom, float top, float near, float far
float left, float right, float bottom, float top, float camNear, float camFar
);