diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 13:29:15 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-12-22 13:29:15 +0000 |
commit | 8b388c4ee59961f4d307c7f9f87641beffb76a53 (patch) | |
tree | 208b2fc38be7b8853fb6b746322301d786eddfe1 /test | |
parent | SetHeightOptions surface changed to defaulted pointer (diff) | |
download | ilt-8b388c4ee59961f4d307c7f9f87641beffb76a53.tar.bz2 ilt-8b388c4ee59961f4d307c7f9f87641beffb76a53.tar.xz ilt-8b388c4ee59961f4d307c7f9f87641beffb76a53.zip |
Expose network base width and surface
Diffstat (limited to 'test')
-rw-r--r-- | test/test-network.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/test-network.cpp b/test/test-network.cpp index ce25429..5373dd5 100644 --- a/test/test-network.cpp +++ b/test/test-network.cpp @@ -73,6 +73,18 @@ struct TestNetwork : public NetworkOf<TestLink, TestLinkS> { render(const SceneShader &) const override { } + + const Surface * + getBaseSurface() const override + { + return nullptr; + } + + RelativeDistance + getBaseWidth() const override + { + return 5'700; + } }; const auto VALID_NODES = boost::unit_test::data::make<GlobalPosition3D>({ |