class

MovingSphere

Inherits Hittable < Reference < Object

Constructors

new(center0 : Vec3, center1 : Vec3, time0 : Float64, time1 : Float64, radius : Float64, material : Material)
Source

Instance methods

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