/* * DoRayMe - a quick and dirty Raytracer * Cube header * * Created by Manoƫl Trapier * Copyright (c) 2020 986-Studio. * */ #ifndef DORAYME_CUBE_H #define DORAYME_CUBE_H #include #include #include class Cube : public Shape { private: void checkAxis(double axeOrigine, double axeDirection, double *axeMin, double *axeMax); Intersect localIntersect(Ray r); Tuple localNormalAt(Tuple point); public: Cube() : Shape(SHAPE_CUBE) {}; }; #endif /* DORAYME_CUBE_H */