mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
move frustum related stuff to frustum header
* create helpers macro which defines corner index * func for get bounding box frustum * add missing source to make file * add more desc to glm_frustum_corners
This commit is contained in:
@@ -53,18 +53,6 @@ CGLM_EXPORT
|
||||
void
|
||||
glmc_look_anyup(vec3 eye, vec3 dir, mat4 dest);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_frustum_planes(mat4 m, vec4 dest[6]);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_frustum_corners(mat4 invMat, vec4 dest[8]);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_frustum_center(vec4 corners[8], vec4 dest);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user