class MovingSphere
- MovingSphere
- Hittable
- Reference
- Object
Defined in:
moving_sphere.crConstructors
Instance Method Summary
- #bounding_box(time0, time1) : AaBb
- #hit(r : Ray, t_min : Float64, t_max : Float64) : HitRecord | Nil
- #material : Material
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(center0 : Vec3, center1 : Vec3, time0 : Float64, time1 : Float64, radius : Float64, material : Material)
#