diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-10 14:33:54 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-04-10 14:33:54 +0100 |
commit | e428f2145ac3b05345d42e3518a22d429ad0970e (patch) | |
tree | e5b7cf88e9978413ff701467242a43ac4d83bdd3 /game/scenary/plant.cpp | |
parent | operator* collection helper reserves target space when possible (diff) | |
download | ilt-e428f2145ac3b05345d42e3518a22d429ad0970e.tar.bz2 ilt-e428f2145ac3b05345d42e3518a22d429ad0970e.tar.xz ilt-e428f2145ac3b05345d42e3518a22d429ad0970e.zip |
Add the plant/foliage game item concepts
Diffstat (limited to 'game/scenary/plant.cpp')
-rw-r--r-- | game/scenary/plant.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/game/scenary/plant.cpp b/game/scenary/plant.cpp new file mode 100644 index 0000000..2b01bee --- /dev/null +++ b/game/scenary/plant.cpp @@ -0,0 +1,13 @@ +#include "plant.h" + +void +Plant::render(const SceneShader & shader) const +{ + type->render(shader, position); +} + +void +Plant::shadows(const ShadowMapper & mapper) const +{ + type->shadows(mapper, position); +} |