We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89773ed commit 0ca28c9Copy full SHA for 0ca28c9
src/extras/BuildingShapeUtils.js
@@ -424,8 +424,8 @@ class BuildingShapeUtils extends ShapeUtils {
424
}
425
// If the edge is horizonal and the point is on the line between the ends it's inside
426
if (nextvec.y === vec.y){
427
- const a = vec.x > point[0]
428
- const b = nextvec.x > point[0]
+ const a = vec.x > point[0];
+ const b = nextvec.x > point[0];
429
// xor
430
if (nextvec.y === point[1] && (a || b) && !(a && b)) {
431
return true;
0 commit comments