No more disappearing spikes due to nearest-neightbour interpolation

This commit is contained in:
ha7ilm 2016-08-11 22:03:29 +02:00
parent 0c5fab0e51
commit 8dc6675b28

View File

@ -2042,7 +2042,7 @@ function mathbox_init()
emit(x, y, z+remapResult.zAdd); emit(x, y, z+remapResult.zAdd);
}, },
width: 128, width: 128,
height: mathbox_data_max_depth, height: mathbox_data_max_depth - 1,
channels: 3, channels: 3,
axes: [1, 3], axes: [1, 3],
}); });
@ -2058,7 +2058,7 @@ function mathbox_init()
emit(r, g, b, 1.0); emit(r, g, b, 1.0);
}, },
width: 128, width: 128,
height: mathbox_data_max_depth, height: mathbox_data_max_depth - 1,
channels: 4, channels: 4,
axes: [1, 3], axes: [1, 3],
}); });