Alvaro 2 lat temu
rodzic
commit
4127e4ac56
1 zmienionych plików z 1 dodań i 1 usunięć
  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)
 })
 })
 ```
 ```