summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2026-04-03 12:04:42 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2026-04-03 12:04:42 +0100
commit60fe9b7c90aa3041909f7d19a8a9bfa186be1aa1 (patch)
tree99c03cb369d478458e776427b639fc3762351727
parentMerge branch 'shared-locations' (diff)
downloadilt-60fe9b7c90aa3041909f7d19a8a9bfa186be1aa1.tar.bz2
ilt-60fe9b7c90aa3041909f7d19a8a9bfa186be1aa1.tar.xz
ilt-60fe9b7c90aa3041909f7d19a8a9bfa186be1aa1.zip
Add a test spot light to default scene
-rw-r--r--application/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/main.cpp b/application/main.cpp
index d64d799..a1396bc 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -112,6 +112,8 @@ public:
world.create<Light>(assets.at("old-lamp").dynamicCast<Illuminator>(),
Location {.pos = terrain->positionAt({{311000000, 491100000}})});
+ world.create<Light>(assets.at("r-light").dynamicCast<Illuminator>(),
+ Location {.pos = terrain->positionAt({{311000000, 491096000}})});
}
mainLoop();