Module world

Module world 

Source

Structs§

HitRecord
The relevant parameters for a ray hitting a hittable object.
Sphere
A sphere, at the given centre with the given radius.
World
A world, consisting of a set of objects that can be hit by rays.

Traits§

Hittable
Represents an object that a ray can hit.