diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-09 08:19:23 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-10-09 08:19:23 +0200 |
commit | 003b0bf828408e8b95ccab404f0c7fca0d7de362 (patch) | |
tree | 37612f496c9bc3471d69db9949ff41248517e907 /src | |
parent | 92124b599a4de4ea072bc80156bd7d1da53d2ef4 (diff) |
a
Diffstat (limited to 'src')
-rw-r--r-- | src/point.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/point.cpp b/src/point.cpp index 23049a14..55785a61 100644 --- a/src/point.cpp +++ b/src/point.cpp @@ -9,12 +9,12 @@ Debug& operator<<(Debug& dbg, const point& pt) auto c = Vector3i(chunk_coords_{pt.coord}); auto t = Vector2i(pt.coord.local()); + auto o = pt.offset; - dbg << "point( "; - dbg << c << ", "; - dbg << t << ", "; - dbg << pt.offset; - dbg << " )"; + dbg << "point{"; + dbg << "{" << c.x() << "," << c.y() << "," << c.z() << "},"; + dbg << "{" << t.x() << "," << t.y() << "},"; + dbg << "{" << o.x() << "," << o.y() << "}}"; dbg.setFlags(flags); return dbg; |