diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-02 05:31:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-02 05:31:06 +0200 |
commit | ab16b95656fbcf719604072263f8375cd80213c2 (patch) | |
tree | 41b52d7a95126e85c8f44adc6d7138a319746cb8 /main/clickable.hpp | |
parent | 93880a5b068239768ba8b6e562a21e3d9103c124 (diff) |
a
Diffstat (limited to 'main/clickable.hpp')
-rw-r--r-- | main/clickable.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/clickable.hpp b/main/clickable.hpp index 0b491a52..7a192fb3 100644 --- a/main/clickable.hpp +++ b/main/clickable.hpp @@ -2,6 +2,7 @@ #include "src/global-coords.hpp" #include <memory> #include <Corrade/Containers/BitArrayView.h> +#include <Magnum/Math/Vector2.h> #include <Magnum/Math/Range.h> namespace floormat { @@ -13,7 +14,7 @@ struct clickable final { Math::Range2D<int> dest; BitArrayView bitmask; entity* e; - float depth; + float depth, slope; uint32_t stride; bool mirrored; }; |