d2d.math.AxisAlignedBoundingBox

Axis Aligned Bounding Box

Members

Classes

AxisAlignedBoundingBox
class AxisAlignedBoundingBox(T, uint dimensions)

A rectangle is a box in 2d space Because these rectangles are axis aligned, they don't have any rotation

Functions

intersects
bool intersects(T first, T second)

Returns whether two rectangles intersect

Meta