Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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