Alvaro 2 gadi atpakaļ
vecāks
revīzija
4127e4ac56
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)
 })
 ```