Skip to content
Snippets Groups Projects
Light.h 318 B
Newer Older
Yoel's avatar
Yoel committed
#pragma once
#include "../tools/SurfacePoint.h"
Yoel's avatar
Yoel committed

namespace shapes {
class Light {
   public:
	virtual util::SurfacePoint sampleLight() const = 0;
	virtual util::Vec3 calculateLightEmission(const util::SurfacePoint& p,
	                                          const util::Vec3& d) const = 0;
Yoel's avatar
Yoel committed
};
}  // namespace shapes