No dumb comments
This commit is contained in:
parent
ec52e57dee
commit
779985c322
1 changed files with 2 additions and 32 deletions
|
|
@ -13,7 +13,6 @@ export const resolveCircleMovement = (
|
|||
let remainingSeconds = deltaTimeInSeconds;
|
||||
let firstHit: Sdf | undefined;
|
||||
|
||||
// Resolve at most two contacts per step, spending only the time left after each hit.
|
||||
for (let pass = 0; pass < 2 && remainingSeconds > 0; pass++) {
|
||||
const speed = vec2.length(body.velocity);
|
||||
if (speed === 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue