Skip to content

Commit

Permalink
improve Matter.Runner docs
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Jun 22, 2024
1 parent dc693e7 commit 283cd96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ var Common = require('./Common');
*
* Where as e.g. using a 240 Hz `delta` i.e. `1000 / 240` the runner will on average perform four updates per frame on displays running 60 FPS and two updates per frame on displays running 120 FPS, etc.
*
* Therefore note that `Runner.run` can call multiple engine updates (or none) to simulate the time elapsed between browser frames, as well as the number of actual updates in any particular frame may be restricted to respect the runner's performance budgets.
* Therefore `Runner.run` will call multiple engine updates (or none) as needed to simulate the time elapsed between browser frames.
*
* These performance budgets are specified by `runner.maxFrameTime` and `runner.maxUpdates`. See those properties for details.
* In practice the number of updates in any particular frame may be restricted to respect the runner's performance budgets. These are specified by `runner.maxFrameTime` and `runner.maxUpdates`, see those properties for details.
*
* @property delta
* @type number
Expand Down

0 comments on commit 283cd96

Please sign in to comment.