summaryrefslogtreecommitdiff
path: root/test/test-geoData.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-10-06 12:48:40 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-10-06 14:03:33 +0100
commit10998a8302b3d7651b4afc046311961eb2dea2c8 (patch)
tree1b58847ae898f9d3c7fa807bfcaa4b4103d6f35f /test/test-geoData.cpp
parentAdd LightDirection class (diff)
downloadilt-10998a8302b3d7651b4afc046311961eb2dea2c8.tar.bz2
ilt-10998a8302b3d7651b4afc046311961eb2dea2c8.tar.xz
ilt-10998a8302b3d7651b4afc046311961eb2dea2c8.zip
Use LightDirection for calculating/passing all light dir components
Diffstat (limited to 'test/test-geoData.cpp')
-rw-r--r--test/test-geoData.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-geoData.cpp b/test/test-geoData.cpp
index 11d634d..4a7b98d 100644
--- a/test/test-geoData.cpp
+++ b/test/test-geoData.cpp
@@ -253,7 +253,7 @@ BOOST_DATA_TEST_CASE(deform, loadFixtureJson<DeformTerrainData>("geoData/deform/
environment(const SceneShader &, const SceneRenderer & sr) const override
{
sr.setAmbientLight({0.1, 0.1, 0.1});
- sr.setDirectionalLight({1, 1, 1}, south + down, *this);
+ sr.setDirectionalLight({1, 1, 1}, {{quarter_pi, -3 * half_pi}}, *this);
}
void