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

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

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) {