Mittsu::Box2
Inherits Reference < Object
Constructors
new
SourceInstance methods
center(target = Mittsu::Vector2.new)
Sourceclamp_point(point, target = nil)
Sourceclone
Sourcecontains_box?(box)
Sourcecontains_point?(point)
Sourcecopy(box)
Sourcedistance_to_point(point)
Sourceempty?
Sourceexpand_by_point(point)
Sourceexpand_by_scalar(scalar)
Sourceexpand_by_vector(vector)
Sourceintersect(box)
Sourceintersection_box?(box)
Sourcemake_empty
Sourcemax
Sourcemax=(max : Mittsu::Vector2)
Sourcemin
Sourcemin=(min : Mittsu::Vector2)
Sourceparameter(point, target = Mittsu::Vector2.new)
Sourceset(min, max)
Sourceset_from_center_and_size(center, size)
Sourceset_from_points(points)
Sourcesize(target = Mittsu::Vector2.new)
Sourcetranslate(offset)
Sourceunion(box)
Source