21 Ray r =
Ray(origine, directeur);
: Describes a ray by a pair of unsigned int. The first one gives the source number (in the range 0-40...
void setMaxt(decimal _maxt)
set the maxt
void setMint(decimal _mint)
set the Mint
bool intersectionRecepteur(vec3 &origine, vec3 &directeur, float tmax, Intersection &result)
Get the Intersection between a ray and this shape.
virtual bool getIntersection(Ray &ray, Intersection &inter)
Check if a ray intersect this sphere.
base_vec3< decimal > vec3