0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-11-23 09:26:51 -05:00

increased tollerance on internal edge finding

This commit is contained in:
liabru 2015-04-22 01:07:48 +01:00
parent 3132d7007e
commit 40905e82a6

View file

@ -269,7 +269,7 @@ var Bodies = {};
// flag internal edges (coincident part edges) // flag internal edges (coincident part edges)
if (flagInternal) { if (flagInternal) {
var coincident_max_dist = 1; var coincident_max_dist = 5;
for (i = 0; i < parts.length; i++) { for (i = 0; i < parts.length; i++) {
var partA = parts[i]; var partA = parts[i];