Skip to content

Commit 24be85f

Browse files
chore: set max frameTime to 0.01s
1 parent 26ebeb5 commit 24be85f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testbed3d/src/Testbed.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class Testbed {
146146
run() {
147147
const time = performance.now();
148148
const fixedStep = this.world.timestep;
149-
const frameTime = Math.min(0.25, (time - this.time) / 1000);
149+
const frameTime = Math.min(0.01, (time - this.time) / 1000);
150150

151151
this.time = time;
152152
this.accumulator += frameTime;

0 commit comments

Comments
 (0)