There was an error while loading. Please reload this page.
AABB represents the type of an axis-aligned boundary box.
AABB
2.7/AABB.adept
struct <$T> AABB (x, y, w, h $T)
where
$T is any numeric type
x
$T
y
w
h
Children are freed when they run out of scope.
func AABB(x, y, w, h $T) <$T> AABB
Constructs an AABB.
[view src]
func intersecting(this *<$T> AABB, other POD <$T> AABB) bool
Returns whether two AABBs are intersecting. Touching isn't considered intersecting.
func intersectingPoint(this *<$T> AABB, point_x, point_y POD $T) bool
Returns whether an AABB intersects a point. Touching is considered intersecting.
Table of Contents