class BVHNode
Defined in:
bvh_node.crConstructors
Instance Method Summary
- #bounding_box(time0 : Float64, time1 : Float64) : AaBb
- #box_compare(axis : Int32, a : Hittable, b : Hittable) : Int32
- #hit(r : Ray, t_min : Float64, t_max : Float64) : HitRecord | Nil
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(src_objects : Array(Hittable), start : Int32, _end : Int32, time0 : Float64, time1 : Float64)
#