diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-10 03:42:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-10 03:45:04 +0200 |
commit | c8c99448c061508a4f40a315c4a71934971e6b54 (patch) | |
tree | 8ad1067d739ee6539be80a7c7485bd2091829555 /src/point.hpp | |
parent | f0787ab92794bb3bed1788b3a79f4eafbd308736 (diff) |
move to_signed() to operator vector2() for consistency
Diffstat (limited to 'src/point.hpp')
-rw-r--r-- | src/point.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/point.hpp b/src/point.hpp index b24f1015..0d9db1df 100644 --- a/src/point.hpp +++ b/src/point.hpp @@ -19,7 +19,7 @@ struct point constexpr std::strong_ordering operator<=>(const point& p1, const point& p2) noexcept { - auto c1 = p1.coord.to_signed3(), c2 = p2.coord.to_signed3(); + auto c1 = Vector3i(p1.coord), c2 = Vector3i(p2.coord); if (auto val = c1.z() <=> c2.z(); val != std::strong_ordering::equal) return val; |