Njord201/Raytracer

Create Cylinder Primitive

Closed this issue · 0 comments

Create the Cyliender primitive into a plugin.

The plugin need a getInstance to get the class Cylinder for the .so.

A class Sphere, wich contain:

  • a constructor()
  • a hit function which return the double where the sphere was hit by a ray