diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-19 00:23:56 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-20 15:08:43 +0000 |
commit | c7af64b7061c59c987958d0830838f1c05caeb29 (patch) | |
tree | 8195696b2130eb6a2674c075416b15a352440b61 /game/network/network.impl.h | |
parent | Copy render vital link data to vertex buffer (diff) | |
download | ilt-c7af64b7061c59c987958d0830838f1c05caeb29.tar.bz2 ilt-c7af64b7061c59c987958d0830838f1c05caeb29.tar.xz ilt-c7af64b7061c59c987958d0830838f1c05caeb29.zip |
Render rail network using new shaders
Non-functional, totally unimplemented at this stage
Diffstat (limited to 'game/network/network.impl.h')
-rw-r--r-- | game/network/network.impl.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/game/network/network.impl.h b/game/network/network.impl.h index c1f079d..ff29088 100644 --- a/game/network/network.impl.h +++ b/game/network/network.impl.h @@ -4,17 +4,6 @@ template<typename T, typename... Links> void -NetworkOf<T, Links...>::render(const SceneShader & shader) const -{ - if constexpr (std::is_base_of_v<Renderable, T>) { - shader.absolute.use(); - texture->bind(); - links.apply(&Renderable::render, shader); - } -} - -template<typename T, typename... Links> -void NetworkOf<T, Links...>::joinLinks(const Link::Ptr & l) const { for (const auto & ol : links.objects) { |