On Tue, Mar 10, 2015 at 2:18 PM, Brandon Keith Biggs <
[email protected]> wrote:

>  Hello,
> It says in the API that when the clock calls the function it returns 2
> arguments, the delta and what other arguments you say.
> It does not say this everywhere there is the clock documentation though.
> That is why I was a little lost at why my function kept crashing.
> Why would I need the delta in every clock run function?
>

Because pyglet *tries* to comply with the requested schedule but it can err
a bit (sometimes with no so small error). If the callback pases the real
dt, your code can extrapolate more accurately.

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to