Browse Source

docs: update

Alvaro 2 năm trước cách đây
mục cha
commit
4127e4ac56
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 ```ts
 const { onLoop, resume } = useRenderLoop()
 const { onLoop, resume } = useRenderLoop()
 
 
-onLoop(({ delta, elapsed }) => {
+onLoop(({ delta, elapsed, clock, dt }) => {
   // I will run at every frame ~ 60FPS (depending of your monitor)
   // I will run at every frame ~ 60FPS (depending of your monitor)
 })
 })
 ```
 ```