gfm.math.box

This module implements a generic axis-aligned bounding box (AABB).

Members

Aliases

DimensionType
alias DimensionType(T : Box!U, U...) = U[0]

Get the numeric type used to measure a box's dimensions.

Structs

Box
struct Box(T, int N)

N-dimensional half-open interval [a, b[.

Templates

box2
template box2(T)

Instanciate to use a 2D box.

box3
template box3(T)

Instanciate to use a 3D box.

Meta