Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(510)

Side by Side Diff: samples/android_sample/jni/timer.h

Issue 11434046: Android rayshader sample. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #ifndef TIMER_H
2 #define TIMER_H
3
4 #include <time.h>
5
6 class Timer {
7 public:
8 Timer();
9 void reset();
10 void update();
11 double now();
12 float elapsed();
13
14 private:
15 float mElapsed;
16 double mLastTime;
17 };
18
19 #endif
20
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698