move extracting planes to camera header

* since it related to view frustum / camera it should be in thie header or separate header called frustum.h
* update LICENSE to add authors of algorithm
This commit is contained in:
Recep Aslantas
2017-12-30 13:55:17 +03:00
parent d14627ac52
commit 99669a21a4
7 changed files with 60 additions and 43 deletions

View File

@@ -48,6 +48,10 @@ glmc_lookat(vec3 eye,
vec3 up,
mat4 dest);
CGLM_EXPORT
void
glmc_extract_planes(mat4 m, vec4 dest[6]);
#ifdef __cplusplus
}
#endif

View File

@@ -17,10 +17,6 @@ CGLM_EXPORT
void
glmc_plane_normalize(vec4 plane);
CGLM_EXPORT
void
glmc_plane_extract(mat4 projView, vec4 dest[6]);
#ifdef __cplusplus
}
#endif