mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-27 09:50:52 -05:00
increased tollerance on internal edge finding
This commit is contained in:
parent
3132d7007e
commit
40905e82a6
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
|
|
Loading…
Reference in a new issue