Skip to content

Commit

Permalink
chore: regen docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacek Pietal committed Aug 20, 2022
1 parent 6a266c2 commit 99b8caa
Show file tree
Hide file tree
Showing 39 changed files with 275 additions and 257 deletions.
12 changes: 9 additions & 3 deletions dist/demo/demo.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -829,13 +829,19 @@ class System extends base_system_1.BaseSystem {
result = (0, sat_1.testPolygonPolygon)(body, candidate, this.response);
}
if (state.collisionVector) {
this.response.overlapV = state.collisionVector;
this.response.overlapN = this.response.overlapV.clone().normalize();
this.response.overlap = this.response.overlapV.len();
}
if (!body.isConvex || !candidate.isConvex) {
this.response.a = body;
this.response.b = candidate;
}
if (!body.isConvex) {
this.response.aInB = (0, utils_1.checkAInB)(body, candidate);
}
if (!candidate.isConvex) {
this.response.bInA = (0, utils_1.checkAInB)(candidate, body);
this.response.overlapV = state.collisionVector;
this.response.overlapN = this.response.overlapV.clone().normalize();
this.response.overlap = this.response.overlapV.len();
}
return result;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/system.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions dist/system.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/system.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 99b8caa

Please sign in to comment.