text: /*
  *  Author: Davide Viero - dviero42@gmail.com
  *  Rha raytracer
  *  2019
  *  License: see LICENSE file
  * 
  */
  
  #pragma once
  
  #include <string>
  #include "sceneObject.h"
  #include "glm.hpp"
  
  class Plane : public SceneObject
  {
  public:
    Plane(std::string name,
           glm::vec3 position,
           glm::vec3 scale,
           glm::vec3 color,
           float ka,
           float kd,
           float ks,
           float kr,
  
           float n);
  
    std::tuple<bool, std::vector<float>> intersections(Ray r) override;
    glm::vec3 computeNormal(glm::vec3 point) override;
  };