Njord201/Raytracer

Create PrimitivesContainer class

Closed this issue · 0 comments

Create the PirmitivesContainer class to contains the Primitives.
The class must have the following methods:

  • add (add a new primitive to the container)
  • hit (compute all the hit points by a ray and return it)
  • clear (clear the Primitives list)