Rosegold::AABB(T, V)
axis aligned bounding box
Constructors
new(min : V, max : V)
SourceInstance methods
*(other : T) : self
Source[](i) : V
Sourcecontains?(vec : V) : Bool
Sourcegrow(dx : T, dy : T, dz : T) : self
Sourcegrow(aabb : AABB(T, V)) : self
Sourcegrow(vec : V) : self
Sourceintersects?(other : AABB(T, V)) : Bool
Sourcemax
Sourcemin
Sourceoffset(x : T, y : T, z : T) : self
Sourceoffset(vec : V) : self
Sourceray_intersection(start : V, end_ : V) : Float64 | Nil
Source