press 1 through 6 to add 10^(n-1) points in the current viewport

(only works correctly when rotated to north, but this is a just a debug functionality anyway)
This commit is contained in:
Konstantin Käfer
2015-06-09 10:29:07 -04:00
parent f85889dc75
commit 0c5f8a2c59
2 changed files with 41 additions and 2 deletions

View File

@@ -36,11 +36,17 @@ public:
void run();
void fps();
private:
void addRandomPointAnnotations(int count);
private:
bool fullscreen = false;
bool tracking = false;
bool rotating = false;
int width = 1024;
int height = 768;
double lastX = 0, lastY = 0;
double lastClick = -1;