class

Mittsu::Box2

Inherits Reference < Object

Constructors

Instance methods

==(box)

Returns false (other can only be a Value here).

Source
center(target = Mittsu::Vector2.new)
Source
clamp_point(point, target = nil)
Source
clone
Source
contains_box?(box)
Source
contains_point?(point)
Source
copy(box)
Source
distance_to_point(point)
Source
empty?
Source
expand_by_point(point)
Source
expand_by_scalar(scalar)
Source
expand_by_vector(vector)
Source
intersect(box)
Source
intersection_box?(box)
Source
make_empty
Source
parameter(point, target = Mittsu::Vector2.new)
Source
set(min, max)
Source
set_from_center_and_size(center, size)
Source
set_from_points(points)
Source
size(target = Mittsu::Vector2.new)
Source
translate(offset)
Source
union(box)
Source