Versions in this module Expand all Collapse all v0 v0.0.4 Jan 4, 2021 Changes in this version + func AnyIntersections(boxes []AABB, search AABB) bool + type AABB struct + func NewAABB(min, max mgl64.Vec3) AABB + func (aabb AABB) CalculateXOffset(nearby AABB, deltaX float64) float64 + func (aabb AABB) CalculateYOffset(nearby AABB, deltaY float64) float64 + func (aabb AABB) CalculateZOffset(nearby AABB, deltaZ float64) float64 + func (aabb AABB) Extend(vec mgl64.Vec3) AABB + func (aabb AABB) ExtendTowards(d int, x float64) AABB + func (aabb AABB) Grow(x float64) AABB + func (aabb AABB) GrowVec3(vec mgl64.Vec3) AABB + func (aabb AABB) Height() float64 + func (aabb AABB) IntersectsWith(other AABB) bool + func (aabb AABB) Length() float64 + func (aabb AABB) Max() mgl64.Vec3 + func (aabb AABB) Min() mgl64.Vec3 + func (aabb AABB) Stretch(a int, x float64) AABB + func (aabb AABB) Translate(vec mgl64.Vec3) AABB + func (aabb AABB) Vec3Within(vec mgl64.Vec3) bool + func (aabb AABB) Width() float64