summaryrefslogtreecommitdiff
path: root/game/vehicles/railVehicleClass.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-12-03 03:41:32 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-12-03 03:41:32 +0000
commitaa75b018f3b97c72b57de68867417cbda51439c3 (patch)
tree446efaad2727ae6bff6433e8bfbf590e99d5e310 /game/vehicles/railVehicleClass.h
parentAdd GL_DEBUG_OUTPUT with boost test error handling to test-render context (diff)
downloadilt-aa75b018f3b97c72b57de68867417cbda51439c3.tar.bz2
ilt-aa75b018f3b97c72b57de68867417cbda51439c3.tar.xz
ilt-aa75b018f3b97c72b57de68867417cbda51439c3.zip
Initial commit of the shadow map generator and shadows render interface
Lots of hard coding, buggy in places, far from great, but the basics work.
Diffstat (limited to 'game/vehicles/railVehicleClass.h')
-rw-r--r--game/vehicles/railVehicleClass.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/game/vehicles/railVehicleClass.h b/game/vehicles/railVehicleClass.h
index 7249e76..bd74ab9 100644
--- a/game/vehicles/railVehicleClass.h
+++ b/game/vehicles/railVehicleClass.h
@@ -6,6 +6,7 @@
#include <string>
class SceneShader;
+class ShadowMapper;
class Texture;
class ObjParser;
class Location;
@@ -15,6 +16,7 @@ public:
explicit RailVehicleClass(const std::string & name);
void render(const SceneShader &, const Location &, const std::array<Location, 2> &) const;
+ void shadows(const ShadowMapper &, const Location &) const;
std::array<Mesh::Ptr, 2> bogies;
Mesh::Ptr bodyMesh;