Skip to content

Commit 0ca28c9

Browse files
authored
Update BuildingShapeUtils.js
1 parent 89773ed commit 0ca28c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extras/BuildingShapeUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,8 +424,8 @@ class BuildingShapeUtils extends ShapeUtils {
424424
}
425425
// If the edge is horizonal and the point is on the line between the ends it's inside
426426
if (nextvec.y === vec.y){
427-
const a = vec.x > point[0]
428-
const b = nextvec.x > point[0]
427+
const a = vec.x > point[0];
428+
const b = nextvec.x > point[0];
429429
// xor
430430
if (nextvec.y === point[1] && (a || b) && !(a && b)) {
431431
return true;

0 commit comments

Comments
 (0)