init method

void init()

Implementation

void init() {
  _framecount = 0;
  _rate = FPS_DEFAULT;
  _rateticks = 1000.0 / FPS_DEFAULT;
  _baseticks = _getTicks();
  _lastticks = _baseticks;
  _measticks = _getTicks();
  _measrate = 0;
  _meascount = 0;
}