Module layout

Source
Expand description

Layout utils.

Functionsยง

aabb_pos
Get a point inside the aabb. (0.0, 0.0) corresponds to min. (1.0, 1.0) corresponds to max.
align_aabb
Align an aabb of the given size inside another.
fit_aabb
Fit an aabb of the given size into the given aabb.
fit_aabb_height
Fit an aabb of the given size by height into the given aabb.
fit_aabb_width
Fit an aabb of the given size by width into the given aabb.