Browse Source

Add Timer::getTime().

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
29cafc48ef
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      include/dsp/digital.hpp

+ 4
- 0
include/dsp/digital.hpp View File

@@ -125,6 +125,10 @@ struct TTimer {
time += deltaTime;
return time;
}

T getTime() {
return time;
}
};

typedef TTimer<> Timer;


Loading…
Cancel
Save