struct AaBb

Defined in:

aabb.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(min : Vec3, max : Vec3) #

[View source]

Instance Method Detail

def hit(r : Ray, t_min : Float64, t_max : Float64) #

[View source]
def max : Vec3 #

[View source]
def min : Vec3 #

[View source]
def surrounding_box(other : AaBb) : AaBb #

[View source]