mirror of
https://github.com/liabru/matter-js.git
synced 2025-03-14 00:38:41 -04:00
Forgot default value.
Added quick default value of true.
This commit is contained in:
parent
f9d1c89c23
commit
1d6ef7e6e6
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ var decomp;
|
|||
flagInternal = typeof flagInternal !== 'undefined' ? flagInternal : false;
|
||||
removeCollinear = typeof removeCollinear !== 'undefined' ? removeCollinear : 0.01;
|
||||
minimumArea = typeof minimumArea !== 'undefined' ? minimumArea : 10;
|
||||
quick = typeof quick !== 'undefined' ? quick : true;
|
||||
|
||||
if (!decomp) {
|
||||
Common.warn('Bodies.fromVertices: poly-decomp.js required. Could not decompose vertices. Fallback to convex hull.');
|
||||
|
|
Loading…
Add table
Reference in a new issue