diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-20 23:30:21 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-03-20 23:30:21 +0000 |
commit | 2508112e2853e1a6c012b19c7232aa09f98d3969 (patch) | |
tree | 4e650d6d0d912eacd6c4e38561b175232e717529 /assetFactory/style.h | |
parent | Add persistence support for std::optional<>s (diff) | |
download | ilt-2508112e2853e1a6c012b19c7232aa09f98d3969.tar.bz2 ilt-2508112e2853e1a6c012b19c7232aa09f98d3969.tar.xz ilt-2508112e2853e1a6c012b19c7232aa09f98d3969.zip |
Move smooth property into Style and make it optional
This allows it to cascade down as faces are created and also be overridden as required
Diffstat (limited to 'assetFactory/style.h')
-rw-r--r-- | assetFactory/style.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assetFactory/style.h b/assetFactory/style.h index f3bc707..d931f98 100644 --- a/assetFactory/style.h +++ b/assetFactory/style.h @@ -31,6 +31,7 @@ public: static EffectiveColour getColour(const StyleStack & parents); ColourAlpha colour {}; + std::optional<bool> smooth; std::string texture; std::string textureRotation; // Multiples of 90deg, no int/enum support |