Skip to content
Snippets Groups Projects
Commit 5e373e8e authored by Yoel's avatar Yoel
Browse files

Light interface correction

parent 34f7b4b6
No related branches found
No related tags found
No related merge requests found
#pragma once
#include "../camera/Ray.h"
#include "../camera/Hit.h"
namespace shapes {
class Light {
public:
virtual cam::Ray shadowRay() const = 0;
virtual cam::Hit sampleLight() const = 0;
};
} // namespace shapes
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment