diff options
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; |