diff options
| author | David Doan <daviddoan@Davids-MacBook-Pro-70.local> | 2023-12-07 21:57:21 -0500 |
|---|---|---|
| committer | David Doan <daviddoan@Davids-MacBook-Pro-70.local> | 2023-12-07 21:57:21 -0500 |
| commit | 940a2361da8f51ab2547f1b7bfd42dc1c8645642 (patch) | |
| tree | 5916cfed50ae675ae10275c1134fc522ee59bae3 /src/illuminate | |
| parent | caa765bff49d54217b75aaf0e7acf4e5392a11e4 (diff) | |
added a GUI
Diffstat (limited to 'src/illuminate')
| -rw-r--r-- | src/illuminate/shadow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/illuminate/shadow.cpp b/src/illuminate/shadow.cpp index 99e2b29..efb52a7 100644 --- a/src/illuminate/shadow.cpp +++ b/src/illuminate/shadow.cpp @@ -11,7 +11,7 @@ bool RayTracer::isShadowed( directionFromIntersectionToLight = glm::normalize(directionFromIntersectionToLight); // acceleration causes "bad jaggies" so we disable it for now - if (m_config.enableAcceleration) + if (m_enableAcceleration) { RenderShapeData shapeData; auto pBias = intersectionWorld + .001f * directionFromIntersectionToLight; @@ -55,4 +55,4 @@ bool RayTracer::isShadowed( } return false; -}
\ No newline at end of file +} |
