From c8c99448c061508a4f40a315c4a71934971e6b54 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 10 Oct 2023 03:42:39 +0200 Subject: move to_signed() to operator vector2() for consistency --- src/point.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/point.hpp') 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; -- cgit v1.2.3