class

CrystalRayTracer::Sphere

Inherits CrystalRayTracer::Thing < Reference < Object

Constructors

new(center : Vector, radius : Float64, _surface : Surface)
Source

Instance methods

intersect(ray)
Source
normal(pos)
Source
surface
Source