summaryrefslogtreecommitdiff
path: root/game/network/rail.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-07 17:00:49 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-07 17:00:49 +0000
commit768a3274e58b7b3cd2f6059edd5953c626fa1703 (patch)
tree817619560a86dec41522036f78bba02b8bfd6200 /game/network/rail.h
parentAdd missing virtual destructor in test base class (diff)
downloadilt-768a3274e58b7b3cd2f6059edd5953c626fa1703.tar.bz2
ilt-768a3274e58b7b3cd2f6059edd5953c626fa1703.tar.xz
ilt-768a3274e58b7b3cd2f6059edd5953c626fa1703.zip
Single function for generating the rail link mesh
Diffstat (limited to 'game/network/rail.h')
-rw-r--r--game/network/rail.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/network/rail.h b/game/network/rail.h
index 8fee27f..5fea713 100644
--- a/game/network/rail.h
+++ b/game/network/rail.h
@@ -26,6 +26,8 @@ public:
void render(const Shader &) const override;
protected:
+ void defaultMesh();
+
Collection<Mesh, false> meshes;
std::vector<Vertex> vertices;
std::vector<unsigned int> indices;