In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Changes

Jump to navigation Jump to search
m
→‎Basic Animation: In IsTimeForNextFrame was the variable static int count = 0; every time the function was called declared and set to 0. This would result in a constant value of 1.
Line 944: Line 944:     
<source lang = "cpp">
 
<source lang = "cpp">
 +
static int count = 0;
 
bool IsTimeForNextFrame()
 
bool IsTimeForNextFrame()
 
{
 
{
      static int count = 0;
   
       count = count + 1;
 
       count = count + 1;
 
       if (count > 10000)
 
       if (count > 10000)
2

edits

Navigation menu