Skip to content
Snippets Groups Projects
Background.h 428 B
Newer Older
Postea's avatar
Postea committed
#pragma once
#include "../sampling/Sampler.h"
Postea's avatar
Postea committed
#include "Shape.h"
#include "Sphere.h"
Postea's avatar
Postea committed
namespace shapes {
class Background : public Sphere {
Yoel's avatar
Yoel committed
   public:
	Background(const std::shared_ptr<util::Sampler>& sampler);
	// We should have to flip the normal, but it does not matter
	// std::optional<cam::Hit> intersect(const cam::Ray& r) const override;
Yoel's avatar
Yoel committed
	util::AxisAlignedBoundingBox bounds() const override;
Yoel's avatar
Yoel committed
}  // namespace shapes