Skip to content

cf_expand_aabb_f

Category: math
GitHub: cute_math.h


Expands an AABB (axis-aligned bounding box).

CF_Aabb cf_expand_aabb_f(CF_Aabb aabb, float v)

Remarks

v is added to to max.x and max.y of aabb, and subtracted from min.x and min.y of aabb.

CF_Aabb
cf_make_aabb
cf_expand_aabb