class HittableList

Defined in:

hittable_list.cr

Constructors

Instance Method Summary

Instance methods inherited from class Hittable

bounding_box(time0 : Float64, time1 : Float64) : AaBb | Nil bounding_box, hit(r : Ray, t_min : Float64, t_max : Float64) : HitRecord | Nil hit

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def <<(obj : Hittable) #

[View source]
def bounding_box(time0, time1) : AaBb | Nil #

[View source]
def clear #

[View source]
def hit(r : Ray, t_min : Float64, t_max : Float64) : HitRecord | Nil #

[View source]
def material #

[View source]