class Mittsu::Box2
- Mittsu::Box2
- Reference
- Object
Defined in:
mittsu/math/box2.crConstructors
Instance Method Summary
-
#==(box)
Returns
false
(other can only be aValue
here). - #center(target = Mittsu::Vector2.new)
- #clamp_point(point, target = nil)
- #clone
- #contains_box?(box)
- #contains_point?(point)
- #copy(box)
- #distance_to_point(point)
- #empty?
- #expand_by_point(point)
- #expand_by_scalar(scalar)
- #expand_by_vector(vector)
- #intersect(box)
- #intersection_box?(box)
- #make_empty
- #max : Mittsu::Vector2
- #max=(max : Mittsu::Vector2)
- #min : Mittsu::Vector2
- #min=(min : Mittsu::Vector2)
- #parameter(point, target = Mittsu::Vector2.new)
- #set(min, max)
- #set_from_center_and_size(center, size)
- #set_from_points(points)
- #size(target = Mittsu::Vector2.new)
- #translate(offset)
- #union(box)
Constructor Detail
Instance Method Detail
def ==(box)
#
Description copied from class Reference
Returns false
(other can only be a Value
here).