From cb0fe719d97e346c7dd48d15229915f18a7c4e81 Mon Sep 17 00:00:00 2001 From: Neil Gershenfeld <gersh@cba.mit.edu> Date: Thu, 16 Jan 2020 14:37:57 -0500 Subject: [PATCH] wip --- modules/mesh/height map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mesh/height map b/modules/mesh/height map index 9d4b7b7..061d0e5 100644 --- a/modules/mesh/height map +++ b/modules/mesh/height map @@ -374,7 +374,7 @@ function map_worker() { // for (var row = 0; row < h; ++row) { for (var col = 0; col < w; ++col) { - map[(h-1-row)*w+col] = -Number.MAX_VALUE + map[(h-1-row)*w+col] = zmin buf[(h-1-row)*w*4+col*4+0] = 0 buf[(h-1-row)*w*4+col*4+1] = 0 buf[(h-1-row)*w*4+col*4+2] = 0 -- GitLab