浏览代码

docs: update

Alvaro 2 年之前
父节点
当前提交
4127e4ac56
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/api/composables.md

+ 1 - 1
docs/api/composables.md

@@ -13,7 +13,7 @@ The `useRenderLoop` composable is the core of **TresJS** animations. It allows y
 ```ts
 const { onLoop, resume } = useRenderLoop()
 
-onLoop(({ delta, elapsed }) => {
+onLoop(({ delta, elapsed, clock, dt }) => {
   // I will run at every frame ~ 60FPS (depending of your monitor)
 })
 ```