Serialize and deserialize the distance with the vertices

This commit is contained in:
Erica Fischer
2024-08-02 14:29:39 -07:00
parent e5361f8c22
commit 753f1b7909
4 changed files with 22 additions and 14 deletions
+1
View File
@@ -160,6 +160,7 @@ static void write_geometry(drawvec const &dv, std::string &out, long long wx, lo
serialize_byte(out, dv[i].op);
serialize_long_long(out, dv[i].x - wx);
serialize_long_long(out, dv[i].y - wy);
serialize_byte(out, dv[i].necessary);
wx = dv[i].x;
wy = dv[i].y;
} else {