Skip to content

Commit 0762f1d

Browse files
committed
míň kolizní rotace
1 parent 5cbfee3 commit 0762f1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎static/kvh/app.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function updatePhysics() {
242242
ball2.vy -= impulse * ny;
243243

244244
// Exchange some spin
245-
const spinExchange = (ball1.r + ball2.r)/2 / 10;
245+
const spinExchange = (ball1.r + ball2.r)/2 / 100;
246246
ball1.vr += spinExchange;
247247
ball2.vr -= spinExchange;
248248
}

0 commit comments

Comments
 (0)