0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2025-03-14 00:38:41 -04:00

Forgot to Add quickDecomp back, fixed now.

Originally I made a mistake in the commit, noticed it after the most recent comment, sorry.
This commit is contained in:
Robert Kowalski 2018-09-14 17:06:37 -04:00 committed by GitHub
parent 1d6ef7e6e6
commit 93c1b94c5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -258,7 +258,7 @@ var decomp;
// use the quick decomposition algorithm (Bayazit) or not
if (quick !== false) {
decomp.removeCollinearPoints(concave, removeCollinear);
var decomposed = decomp.quickDecomp(concave);
} else {
var decomposed = decomp.decomp(concave);
}