This commit is contained in:
IlyaShurupov 2024-06-19 12:28:30 +03:00 committed by Ilya Shurupov
parent 351a5d842e
commit 8b54ca0216
10 changed files with 87 additions and 20 deletions

View file

@ -26,6 +26,7 @@ namespace tp {
public:
RayTracer() = default;
void render(const Scene& scene, OutputBuffers& out, const RenderSettings& settings);
private:
@ -34,6 +35,7 @@ namespace tp {
TrigCache* trig = nullptr;
Vec3F hitPos = { 0, 0, 0 };
bool hit = false;
bool inv = false;
};
struct LightData {