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

@ -60,11 +60,11 @@ void matrixLook(matrix_t *matrix,
* @param matrix Matrix to apply to.
* @param fov Field of View (in radians) to use.
* @param aspect Aspect ratio (w/h) of the viewport.
* @param near Near vector, > 0.
* @param far Far view vector.
* @param camNear Near vector, > 0.
* @param camFar Far view vector.
*/
void matrixPerspective(matrix_t *matrix,
float fov,float aspect,float near,float far
float fov,float aspect, float camNear, float camFar
);
/**
@ -75,11 +75,11 @@ void matrixPerspective(matrix_t *matrix,
* @param right Right view position.
* @param bottom Bottom view position.
* @param top Top view position.
* @param near Near vector, > 0.
* @param far Far view vector.
* @param camNear Near vector, > 0.
* @param camFar Far view vector.
*/
void matrixOrtho(matrix_t *matrix,
float left, float right, float bottom, float top, float near, float far
float left, float right, float bottom, float top, float camNear, float camFar
);
/**