mirror of
https://github.com/recp/cglm.git
synced 2026-11-19 10:33:09 -06:00
aabb: center of AABB helper
* it is just wrapper of vec_center but it saves to access min and max values of AABB
This commit is contained in:
1 parent
4e63325f55
commit
fb2cac9816
3 files changed
+23
No files matched your search
@@ -51,6 +51,11 @@ glmc_aabb_size(vec3 box[2]);
|
||||
CGLM_EXPORT
|
||||
float
|
||||
glmc_aabb_radius(vec3 box[2]);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_aabb_center(vec3 box[2], vec3 dest);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user