voxelman.geometry.box

Members

Functions

boxFromCorners
Box boxFromCorners(ivec3 a, ivec3 b)
Undocumented in source. Be warned that the author may not have intended to support it.
boxIntersection
Box boxIntersection(Box a, Box b)
Undocumented in source. Be warned that the author may not have intended to support it.
calcCommonBox
Box calcCommonBox(Box[] boxes)
Undocumented in source. Be warned that the author may not have intended to support it.
max
Vector!(T, size) max(Vector!(T, size) a, Vector!(T, size) b)
Undocumented in source. Be warned that the author may not have intended to support it.
min
Vector!(T, size) min(Vector!(T, size) a, Vector!(T, size) b)
Undocumented in source. Be warned that the author may not have intended to support it.
trisect
TrisectResult trisect(Box a, Box b)
Undocumented in source. Be warned that the author may not have intended to support it.
trisectAxis
TrisectAxisResult trisectAxis(int aStart, int aEnd, int bStart, int bEnd)
Undocumented in source. Be warned that the author may not have intended to support it.
trisectIntersecting
TrisectResult trisectIntersecting(Box a, Box b)

Assumes that boxes have intersection. Does not write to intersection

Structs

AxisRange
struct AxisRange
Undocumented in source.
Box
struct Box
Undocumented in source.
TrisectAxisResult
struct TrisectAxisResult
Undocumented in source.
TrisectResult
struct TrisectResult
Undocumented in source.

Meta

Authors

Andrey Penechko.