diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-20 01:23:53 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-20 15:08:43 +0000 |
commit | 538af692b66e67dfa4f347cc9ddd784a36f9a991 (patch) | |
tree | a541279fe55bb468139d4916ef74e02057c73990 /test/test-network.cpp | |
parent | Render rail network using new shaders (diff) | |
download | ilt-538af692b66e67dfa4f347cc9ddd784a36f9a991.tar.bz2 ilt-538af692b66e67dfa4f347cc9ddd784a36f9a991.tar.xz ilt-538af692b66e67dfa4f347cc9ddd784a36f9a991.zip |
Update network with vertex array
Diffstat (limited to 'test/test-network.cpp')
-rw-r--r-- | test/test-network.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-network.cpp b/test/test-network.cpp index df61b94..174e2a5 100644 --- a/test/test-network.cpp +++ b/test/test-network.cpp @@ -52,6 +52,8 @@ struct TestLinkS : public TestLink, public LinkStraight { constexpr GlobalPosition3D p000 {0, 0, 0}, p100 {10000, 0, 0}, p200 {20000, 0, 0}, p300 {30000, 0, 0}; constexpr GlobalPosition3D p110 {10000, 10000, 0}; +template<> NetworkLinkHolder<TestLinkS>::NetworkLinkHolder() = default; + struct TestNetwork : public NetworkOf<TestLink, TestLinkS> { TestNetwork() : NetworkOf<TestLink, TestLinkS> {RESDIR "rails.jpg"} { |