summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan.goodliffe@octal.co.uk>2026-03-09 12:17:41 +0000
committerDan Goodliffe <dan.goodliffe@octal.co.uk>2026-03-09 12:18:59 +0000
commit57b27dada7e6968a6081207d9b466bf7e842039b (patch)
tree0acfb043f44c789fc5ee9696ac34ea9ed7fed767 /test
parentRemove identifier naming lint comments, gl* is fine (diff)
downloadilt-57b27dada7e6968a6081207d9b466bf7e842039b.tar.bz2
ilt-57b27dada7e6968a6081207d9b466bf7e842039b.tar.xz
ilt-57b27dada7e6968a6081207d9b466bf7e842039b.zip
Specialise glTexture::savePosition
Normalises the range of position information into the range 0-255 so the resulting image is remotely useful.
Diffstat (limited to 'test')
-rw-r--r--test/test-render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-render.cpp b/test/test-render.cpp
index 0b47ce8..35d71f3 100644
--- a/test/test-render.cpp
+++ b/test/test-render.cpp
@@ -40,7 +40,7 @@ namespace {
public:
TestScene()
{
- terrain->point(GeoData::VertexHandle {517}).z = 100'000;
+ terrain->point(GeoData::VertexHandle {517}).z = 40'000;
terrain->generateMeshes();
gameState->assets = AssetFactory::loadAll(RESDIR);
brush47rvc = gameState->assets.at("brush-47").dynamicCast<RailVehicleClass>();