mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user