mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-04 17:35:42 +02:00
Revert "Serialize and deserialize the distance with the vertices"
This reverts commit 753f1b7909.
This commit is contained in:
+2
-6
@@ -27,24 +27,20 @@ struct draw {
|
||||
long long x : 40;
|
||||
signed char op;
|
||||
long long y : 40;
|
||||
|
||||
// 0: not necessary
|
||||
// 127: always necessary
|
||||
// other n: necessary at detail n/4
|
||||
signed char necessary;
|
||||
|
||||
draw(int nop, long long nx, long long ny)
|
||||
: x(nx),
|
||||
op(nop),
|
||||
y(ny),
|
||||
necessary(127) {
|
||||
necessary(0) {
|
||||
}
|
||||
|
||||
draw()
|
||||
: x(0),
|
||||
op(0),
|
||||
y(0),
|
||||
necessary(127) {
|
||||
necessary(0) {
|
||||
}
|
||||
|
||||
bool operator<(draw const &s) const {
|
||||
|
||||
Reference in New Issue
Block a user