summaryrefslogtreecommitdiff
path: root/test/test-assetFactory.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-10 02:12:16 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-11 01:13:59 +0000
commit194148abd9ab89a5a514a37b7717b7c4de6aa758 (patch)
tree5163df40e57c4c55b4a6035e699572bd55b0d7cf /test/test-assetFactory.cpp
parentSimplify ShadowMapper with AxisAlignedBoundingBox (diff)
downloadilt-194148abd9ab89a5a514a37b7717b7c4de6aa758.tar.bz2
ilt-194148abd9ab89a5a514a37b7717b7c4de6aa758.tar.xz
ilt-194148abd9ab89a5a514a37b7717b7c4de6aa758.zip
Pass a Frustum to shadow renderers
The frustum might not be correct at this stage.
Diffstat (limited to 'test/test-assetFactory.cpp')
-rw-r--r--test/test-assetFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test-assetFactory.cpp b/test/test-assetFactory.cpp
index 02f0202..9bade82 100644
--- a/test/test-assetFactory.cpp
+++ b/test/test-assetFactory.cpp
@@ -58,10 +58,10 @@ public:
}
void
- shadows(const ShadowMapper & mapper) const override
+ shadows(const ShadowMapper & mapper, const Frustum & frustum) const override
{
mapper.dynamicPoint.use(Location {{0, 0, 0}, {0, 0, 0}});
- objects.apply(&Renderable::shadows, mapper);
+ objects.apply(&Renderable::shadows, mapper, frustum);
}
void