summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/point.cpp10
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;