plane.h 376 B

12345678910111213141516171819202122
  1. /*
  2. * DoRayMe - a quick and dirty Raytracer
  3. * Plane header
  4. *
  5. * Created by Manoël Trapier
  6. * Copyright (c) 2020 986-Studio.
  7. *
  8. */
  9. #ifndef DORAYME_PLANE_H
  10. #define DORAYME_PLANE_H
  11. class Plane : public Shape
  12. {
  13. private:
  14. Intersect localIntersect(Ray r);
  15. Tuple localNormalAt(Tuple point);
  16. public:
  17. Plane() : Shape(SHAPE_PLANE) { };
  18. };
  19. #endif //DORAYME_PLANE_H