diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-07 17:00:49 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-07 17:00:49 +0000 |
commit | 768a3274e58b7b3cd2f6059edd5953c626fa1703 (patch) | |
tree | 817619560a86dec41522036f78bba02b8bfd6200 /game/network/rail.h | |
parent | Add missing virtual destructor in test base class (diff) | |
download | ilt-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.h | 2 |
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; |