diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-21 03:36:03 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-21 03:36:03 +0000 |
commit | 80ff7597e0d6b083d1ad4c7c7b758379de69786d (patch) | |
tree | b77f5e8ee9689c0de44d6696f40ab2094738f9ac /game/network/rail.h | |
parent | Dynamic number of segments into curve render (diff) | |
download | ilt-80ff7597e0d6b083d1ad4c7c7b758379de69786d.tar.bz2 ilt-80ff7597e0d6b083d1ad4c7c7b758379de69786d.tar.xz ilt-80ff7597e0d6b083d1ad4c7c7b758379de69786d.zip |
Remove the old custom mesh per network link rendering
Diffstat (limited to 'game/network/rail.h')
-rw-r--r-- | game/network/rail.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/game/network/rail.h b/game/network/rail.h index a95ba04..c8effef 100644 --- a/game/network/rail.h +++ b/game/network/rail.h @@ -2,13 +2,11 @@ #include "chronology.h" #include "game/worldobject.h" -#include "gfx/models/mesh.h" #include "gfx/renderable.h" #include "link.h" #include "network.h" #include <glm/glm.hpp> #include <memory> -#include <span> #include <special_members.h> class SceneShader; @@ -19,7 +17,7 @@ struct Arc; class RailLinkStraight; class RailLinkCurve; -class RailLink : public virtual Link, public Renderable { +class RailLink : public virtual Link { public: RailLink() = default; inline ~RailLink() override = 0; @@ -27,15 +25,11 @@ public: using StraightLink = RailLinkStraight; using CurveLink = RailLinkCurve; - void render(const SceneShader &) const override; NO_COPY(RailLink); NO_MOVE(RailLink); protected: [[nodiscard]] RelativePosition3D vehiclePositionOffset() const override; - [[nodiscard]] static Mesh::Ptr defaultMesh(const std::span<Vertex> vertices); - - Mesh::Ptr mesh; }; RailLink::~RailLink() = default; |