Skip to content
Snippets Groups Projects
Shape.h 258 B
Newer Older
Postea's avatar
Postea committed
#pragma once

#include "../camera/Hit.h"
#include "../camera/Ray.h"
Yoel's avatar
Yoel committed
#include "../tools/AxisAlignedBoundingBox.h"
Postea's avatar
Postea committed

namespace shapes {
class Shape {
Yoel's avatar
Yoel committed
   public:
	virtual std::shared_ptr<cam::Hit> intersect(const cam::Ray& r) const = 0;
Yoel's avatar
Yoel committed
}  // namespace shapes