mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Implement infinite perspective projection matrix creation functions
This commit is contained in:
@@ -62,6 +62,12 @@ glmc_perspective(float fovy, float aspect, float nearZ, float farZ, mat4 dest) {
|
||||
glm_perspective(fovy, aspect, nearZ, farZ, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_perspective_infinite(float fovy, float aspect, float nearZ, mat4 dest) {
|
||||
glm_perspective_infinite(fovy, aspect, nearZ, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_persp_move_far(mat4 proj, float deltaFar) {
|
||||
|
||||
Reference in New Issue
Block a user