diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-23 21:31:41 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-23 21:31:41 +0100 |
commit | 687afb09ada73fb4aee932242a3b7ee492e63cb0 (patch) | |
tree | e8c654edf5b0927238c89d8c861afe9bed995c8c /game/vehicles/train.h | |
parent | Add BufferedLocation (diff) | |
download | ilt-687afb09ada73fb4aee932242a3b7ee492e63cb0.tar.bz2 ilt-687afb09ada73fb4aee932242a3b7ee492e63cb0.tar.xz ilt-687afb09ada73fb4aee932242a3b7ee492e63cb0.zip |
Handle rendering of RailVehicles through RailVehicleClass instancing
Trains no longer need rendering as their parts are all RVC assets and that just works now.
This commit creates some irritating duplication in RVC wrt body/2 bogies all of which are stored
separately, but function in exactly the same way.
This breaks RV shadows as we have no instancing shadow shaders yet.
Diffstat (limited to 'game/vehicles/train.h')
-rw-r--r-- | game/vehicles/train.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/game/vehicles/train.h b/game/vehicles/train.h index 91f7ddb..15e2f6e 100644 --- a/game/vehicles/train.h +++ b/game/vehicles/train.h @@ -27,9 +27,6 @@ public: return objects.front()->location; } - void render(const SceneShader & shader) const override; - void shadows(const ShadowMapper & shadowMapper) const override; - [[nodiscard]] bool intersectRay(const Ray &, glm::vec2 *, float *) const override; void tick(TickDuration elapsed) override; |