Changeset 48:0dc60258b3b2 in rrlib_util


Ignore:
Timestamp:
25.01.2012 08:27:56 (8 years ago)
Author:
Bernd-Helge Schaefer <schaefer@…>
Branch:
default
Phase:
public
Rebase:
46:693922a1844d
Message:

tFPSComputer: Added support for incrementing the frame counter by more than 1 frame at a time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tFPSComputer.h

    r41 r46  
    4747  tFPSComputer(const util::tTime &current_time, long long int check_interval_ms = 1000, float old_value_weight = 0.75); 
    4848 
    49   inline void IncrementFrameCounter() 
     49  inline void IncrementFrameCounter(unsigned int num_frames = 1) 
    5050  { 
    51     ++this->frame_counter; 
     51    this->frame_counter += num_frames; 
    5252  } 
    5353 
Note: See TracChangeset for help on using the changeset viewer.