mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 10:17:13 -06:00
box: cull frustum with aabb helper
This commit is contained in:
1 parent
a832d58d9f
commit
0f9f4748d7
2 files changed
+3
-2
No files matched your search
@@ -64,7 +64,8 @@ I realized that floating point errors may occur is some operaitons especially de
|
||||
- euler angles / yaw-pitch-roll to matrix
|
||||
- extract euler angles
|
||||
- inline or pre-compiled function call
|
||||
- extract view frustum planes
|
||||
- frustum (extract view frustum planes, corners...)
|
||||
- bounding box (AABB in Frustum (culling), crop, merge...)
|
||||
|
||||
<hr />
|
||||
|
||||
|
||||
+1
-1
@@ -136,7 +136,7 @@ glm_aabb_crop_until(vec3 box[2],
|
||||
*/
|
||||
CGLM_INLINE
|
||||
bool
|
||||
glm_aabb_frustum(vec3 *box, vec4 planes[6]) {
|
||||
glm_aabb_frustum(vec3 box[2], vec4 planes[6]) {
|
||||
float *p, dp;
|
||||
int i;
|
||||
|
||||
|
||||
Reference in new issue
Block a user