diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-05-27 13:44:08 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-05-27 13:44:08 +0100 |
commit | ad85d0843dc80d195120dd53dd4a8deee004af4b (patch) | |
tree | 420723815ac6753441f14fe51836555de5551a19 /game/surface.h | |
parent | Merge branch 'separate-water' (diff) | |
parent | Surface asset test doesn't need render dump (diff) | |
download | ilt-ad85d0843dc80d195120dd53dd4a8deee004af4b.tar.bz2 ilt-ad85d0843dc80d195120dd53dd4a8deee004af4b.tar.xz ilt-ad85d0843dc80d195120dd53dd4a8deee004af4b.zip |
Merge remote-tracking branch 'origin/terrain-surfaces'
Diffstat (limited to 'game/surface.h')
-rw-r--r-- | game/surface.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/game/surface.h b/game/surface.h new file mode 100644 index 0000000..ccc5c6c --- /dev/null +++ b/game/surface.h @@ -0,0 +1,11 @@ +#pragma once + +#include "assetFactory/asset.h" + +struct Surface : public Asset { + friend Persistence::SelectionPtrBase<std::shared_ptr<Surface>>; + bool persist(Persistence::PersistenceStore & store) override; + + glm::vec3 colorBias; + float quality; +}; |