1#include "interfaces/IHittable.hpp"
3#ifndef __ROTATE_Y_HPP__
4 #define __ROTATE_Y_HPP__
6namespace Raytracer::Effects
10 std::shared_ptr<Interfaces::IHittable> _object;
16 RotateY(std::shared_ptr<Interfaces::IHittable>
object,
double angle);
Definition Payload.hpp:11
Utils::AxisAlignedBBox boundingBox() const override
Get the bounding box of the rotated object.
Definition RotateY.cpp:111
bool hit(const Core::Ray &ray, Utils::Interval interval, Core::Payload &payload) const override
Check if the ray hits the rotated object.
Definition RotateY.cpp:65
RotateY(std::shared_ptr< Interfaces::IHittable > object, double angle)
Construct a new RotateY object.
Definition RotateY.cpp:15
Definition IHittable.hpp:11
Definition AxisAlignedBBox.hpp:10
Definition Interval.hpp:9