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 /game/network/network.h | |
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 'game/network/network.h')
-rw-r--r-- | game/network/network.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/game/network/network.h b/game/network/network.h index 49322f9..5725360 100644 --- a/game/network/network.h +++ b/game/network/network.h @@ -60,8 +60,11 @@ protected: }; template<typename LinkType> class NetworkLinkHolder { -protected: +public: + // Implemented per LinkType to configure vao + NetworkLinkHolder(); friend LinkType; + glVertexArray vao; mutable InstanceVertices<typename LinkType::Vertex> vertices; }; |