summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-01-20 01:23:53 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-01-20 15:08:43 +0000
commit538af692b66e67dfa4f347cc9ddd784a36f9a991 (patch)
treea541279fe55bb468139d4916ef74e02057c73990 /test
parentRender rail network using new shaders (diff)
downloadilt-538af692b66e67dfa4f347cc9ddd784a36f9a991.tar.bz2
ilt-538af692b66e67dfa4f347cc9ddd784a36f9a991.tar.xz
ilt-538af692b66e67dfa4f347cc9ddd784a36f9a991.zip
Update network with vertex array
Diffstat (limited to 'test')
-rw-r--r--test/test-network.cpp2
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"}
{