Testing SDL support
This commit is contained in:
@ -38,15 +38,15 @@ void matrixLook(matrix_t *matrix,
|
||||
}
|
||||
|
||||
void matrixPerspective(matrix_t *matrix,
|
||||
float fov,float aspect,float near,float far
|
||||
float fov, float aspect, float camNear, float camFar
|
||||
) {
|
||||
glm_perspective(fov, aspect, near, far, matrix->internalMatrix);
|
||||
glm_perspective(fov, aspect, camNear, camFar, matrix->internalMatrix);
|
||||
}
|
||||
|
||||
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
|
||||
) {
|
||||
glm_ortho(left, right, bottom, top, near, far, matrix->internalMatrix);
|
||||
glm_ortho(left, right, bottom, top, camNear, camFar, matrix->internalMatrix);
|
||||
}
|
||||
|
||||
void matrixTranslate(matrix_t *matrix, float x, float y, float z) {
|
||||
|
Reference in New Issue
Block a user