diff --git a/Source/engine/displacement.hpp b/Source/engine/displacement.hpp index 5d0ea87aa..1c897f4e5 100644 --- a/Source/engine/displacement.hpp +++ b/Source/engine/displacement.hpp @@ -103,6 +103,7 @@ struct Displacement { return { abs(a.deltaX), abs(a.deltaY) }; } +private: static constexpr Displacement fromDirection(Direction direction) { switch (direction) {