There was an error while loading. Please reload this page.
1 parent 8f5d4f4 commit 7253cb5Copy full SHA for 7253cb5
1 file changed
client-data/tools/eraser/eraser.js
@@ -64,7 +64,7 @@
64
if (erasing) {
65
// get points all within a circle of a given radius
66
// https://stackoverflow.com/a/26802146
67
- var radius = Tools.getSize(),
+ var radius = Tools.getSize()/2,
68
r2 = radius*radius;
69
for (var dx = -radius; dx <= radius; dx++) {
70
var h = Math.sqrt(r2 - dx * dx) | 0;
0 commit comments