class CrystalRayTracer::Sphere

Defined in:

crystal_ray_tracer/sphere.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(center : Vector, radius : Float64, _surface : Surface) #

[View source]

Instance Method Detail

def intersect(ray) #

[View source]
def normal(pos) #

[View source]

[View source]