Jump to content

  • Log In with Google      Sign In   
  • Create Account

rip-off

Member Since 16 Mar 2005
Offline Last Active Feb 10 2016 04:56 PM

Posts I've Made

In Topic: Verlet integration spring system question

10 February 2016 - 04:43 PM

Thanks, but please don't reply to such old threads.


In Topic: SDL_Mixer can't open wav

31 January 2016 - 11:08 AM

What does the error message say?


In Topic: Figuring out a packed normal format

10 January 2016 - 01:21 PM

Please don't re-open very old threads, just create a new thread instead.


In Topic: Question about lambda function

09 January 2016 - 05:20 PM

What you might be asking about is how "b" and "cb" are working in the lambda. This is called "capturing", the city button and "b" variables are captured when the lambda is created, and are available when the lambda is executed later.

 

See Variable Scope in Lambda Expressions.


In Topic: Delta time movement calculation

03 January 2016 - 09:17 AM

Have you tried using a profiler? You might be able to spot the source of latency if it is large enough. Even with a few logging statements you should be able to narrow down the source of latency.

 

It might not be related to your application, perhaps there is some background process that periodically steals CPU time? As you said there is at least one device where it run without this issue. Perhaps you can write a simple application to prove or disprove this theory, just spin in a loop and log the distribution of loop durations, see if there is the same behaviour.


PARTNERS