hotfix
This commit is contained in:
parent
2f5e4b8192
commit
31b9c8535f
|
|
@ -91,7 +91,7 @@ A fancier version of this changelog can be found here: https://sandboxels.R74n.c
|
|||
~ Fixed: Gaps when drawing fast on mobile
|
||||
~ Fixed: Middle clicking empty space causes freeze
|
||||
~ Fixed: Bless and Rock Wall can't be drawn in a line
|
||||
~ Fixed: Gapes when drawing Bless and Rock Wall fast
|
||||
~ Fixed: Gaps when drawing Bless and Rock Wall fast
|
||||
~ Fixed: Bless and Rock Wall don't display info
|
||||
~ Fixed: Bless and Rock Wall can't use Replace Mode
|
||||
~ Fixed: Brown Dwarf Suns can emit Light when eclipsed
|
||||
|
|
|
|||
|
|
@ -13087,7 +13087,7 @@ behaviorRules = {
|
|||
function circleCoords(x,y,radius) {
|
||||
var coords = [];
|
||||
for (let i = Math.max(0, x - radius); i <= Math.min(width, x + radius); i++) {
|
||||
for (let j = Math.max(0, y - radius); j <= Math.min(width, y + radius); j++) {
|
||||
for (let j = Math.max(0, y - radius); j <= Math.min(height, y + radius); j++) {
|
||||
if (Math.pow(i - x, 2) + Math.pow(j - y, 2) <= Math.pow(radius, 2)) {
|
||||
coords.push({x: i,y: j});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue