Skip to content

Commit e60ba17

Browse files
chore: set max frameTime to 0.01s
1 parent f5b5e86 commit e60ba17

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
@@ -143,7 +143,7 @@ export class Testbed {
143143
run() {
144144
const time = performance.now();
145145
const fixedStep = this.world.timestep;
146-
const frameTime = Math.min(0.25, (time - this.time) / 1000);
146+
const frameTime = Math.min(0.01, (time - this.time) / 1000);
147147

148148
this.time = time;
149149
this.accumulator += frameTime;

0 commit comments

Comments
 (0)