Skip to content

cf_expand_aabb

Category: math
GitHub: cute_math.h


Expands an AABB (axis-aligned bounding box).

CF_Aabb cf_expand_aabb(CF_Aabb aabb, CF_V2 v)
Parameters Description
v A vector of { half_width, half_height } to expand by.

CF_Aabb
cf_make_aabb
cf_expand_aabb_f