C
Header: cglm/aabb2d.h
Some convenient functions provided for AABB.
Definition of aabb:
cglm defines an aabb as a two dimensional array of vec2's. The first element is the min point and the second one is the max point. If you have another type e.g. struct or even another representation then you must convert it before and after calling a cglm aabb2d function.
Macros:
- :c
glm_aabb2d_size
Functions:
- :c
glm_aabb2d_copy
- :c
glm_aabb2d_zero
- :c
glm_aabb2d_transform
- :c
glm_aabb2d_merge
- :c
glm_aabb2d_crop
- :c
glm_aabb2d_crop_until
- :c
glm_aabb2d_invalidate
- :c
glm_aabb2d_isvalid
- :c
glm_aabb2d_diag
- :c
glm_aabb2d_sizev
- :c
glm_aabb2d_radius
- :c
glm_aabb2d_center
- :c
glm_aabb2d_aabb
- :c
glm_aabb2d_circle
- :c
glm_aabb2d_point
- :c
glm_aabb2d_contains