class Mittsu::Box3

Defined in:

mittsu/math/box3.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def ==(box) #
Description copied from class Reference

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


[View source]
def apply_matrix4(matrix) #

[View source]
def bounding_sphere(target = Mittsu::Sphere.new) #

[View source]
def center(target = Mittsu::Vector3.new) #

[View source]
def clamp_point(point, target = Mittsu::Vector3.new) #

[View source]
def clone #

[View source]
def contains_box?(box) #

[View source]
def contains_point?(point) #

[View source]
def copy(box) #

[View source]
def distance_to_point(point, target = Mittsu::Vector3.new) #

[View source]
def empty? #

[View source]
def expand_by_point(point) #

[View source]
def expand_by_scalar(scalar) #

[View source]
def expand_by_vector(vector) #

[View source]
def intersect(box) #

[View source]
def intersection_box?(box) #

[View source]
def make_empty #

[View source]
def max : Mittsu::Vector3 #

[View source]
def max=(max : Mittsu::Vector3) #

[View source]
def min : Mittsu::Vector3 #

[View source]
def min=(min : Mittsu::Vector3) #

[View source]
def parameter(point, target = nil) #

[View source]
def set(min, max) #

[View source]
def set_from_center_and_size(center, size) #

[View source]
def set_from_object(object) #

[View source]
def set_from_points(points) #

[View source]
def size(target = Mittsu::Vector3.new) #

[View source]
def translate(offset) #

[View source]
def union(box) #

[View source]