cam: extend frustum's far distance helper (#71)

* this will help to implement zoom easily
This commit is contained in:
Recep Aslantas authored and GitHub committed 2019-01-16 14:59:58 +03:00
1 parent e3d3cd8ab8
commit 07e60bd098
4 files changed
+45

No files matched your search

+6
View File
@@ -88,6 +88,12 @@ glmc_perspective(float fovy,
dest);
}
CGLM_EXPORT
void
glmc_persp_move_far(mat4 proj, float deltaFar) {
glm_persp_move_far(proj, deltaFar);
}
CGLM_EXPORT
void
glmc_perspective_default(float aspect, mat4 dest) {