diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-01 13:17:50 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-01 13:17:50 +0100 |
| commit | d478c37fc03c7590823f003a3b326e79ae8012f9 (patch) | |
| tree | d64f164bc4b5922324bd88bfe809d7dea2dde2ba /main | |
| parent | 7ebee3863c061b1d0b64839b56bbc70ff4e5d924 (diff) | |
draw: skip clickables fully off the screen
Diffstat (limited to 'main')
| -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 92b8dd49..3ca8ccb6 100644 --- a/main/clickable.hpp +++ b/main/clickable.hpp @@ -6,7 +6,8 @@ namespace floormat { struct clickable final { - Math::Range2D<UnsignedInt> src, dest; + Math::Range2D<unsigned> src; + Math::Range2D<int> dest; BitArrayView bitmask; float depth = 0; std::uint32_t stride; |
