Skip to content
Snippets Groups Projects
Commit 723d1844 authored by Yoel's avatar Yoel
Browse files

sampleLight now correctly returns a SurfacePoint in the interface

parent 23d01fd2
No related branches found
No related tags found
No related merge requests found
#pragma once #pragma once
#include "../camera/Hit.h" #include "../tools/SurfacePoint.h"
namespace shapes { namespace shapes {
class Light { class Light {
public: public:
virtual cam::Hit sampleLight() const = 0; virtual util::SurfacePoint sampleLight() const = 0;
}; };
} // namespace shapes } // 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