diff --git a/client/wasm/lod.c b/client/wasm/lod.c index 28421fc..93d492d 100644 --- a/client/wasm/lod.c +++ b/client/wasm/lod.c @@ -62,7 +62,7 @@ rdp_find_max(float *xs, float *ys, unsigned char *pressures, float zoom, int coo float dist_ab = __builtin_sqrtf(dx * dx + dy * dy); float dir_nx = dy / dist_ab * 255.0f; float dir_ny = -dx / dist_ab * 255.0f; -#if 1 +#if 0 for (int i = segment_start + 1; i < segment_end; ++i) { float px = xs[coords_from + i]; float py = ys[coords_from + i]; diff --git a/client/wasm/lod.wasm b/client/wasm/lod.wasm index 3f921f6..1c62b2f 100755 Binary files a/client/wasm/lod.wasm and b/client/wasm/lod.wasm differ