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

@@ -61,6 +61,10 @@ glmc_perspective(float fovy,
float farVal,
mat4 dest);
CGLM_EXPORT
void
glmc_persp_move_far(mat4 proj, float deltaFar);
CGLM_EXPORT
void
glmc_perspective_default(float aspect, mat4 dest);