2#include "interfaces/IHittable.hpp"
7namespace Raytracer::Shapes
14 std::shared_ptr<Interfaces::IMaterial> _material;
20 std::shared_ptr<Interfaces::IMaterial> material);
Definition Payload.hpp:11
Definition IHittable.hpp:11
virtual Utils::AxisAlignedBBox boundingBox() const override
Get the bounding box of the cone.
Definition Cone.cpp:108
virtual bool hit(const Core::Ray &ray, Utils::Interval interval, Core::Payload &payload) const override
Check if the ray hits the cone.
Definition Cone.cpp:39
Definition AxisAlignedBBox.hpp:10
Definition Interval.hpp:9