Implement dynamically enabling layer/interaction rendering.

Refs #2.
This commit is contained in:
2018-03-29 14:56:17 +02:00
parent 1ffbfda2d9
commit 59ecb91713
2 changed files with 31 additions and 12 deletions

View File

@@ -46,6 +46,8 @@ namespace fmri
struct {
bool showDebug = false;
bool showHelp = true;
bool renderLayers = true;
bool renderInteractions = true;
} options;
std::array<float, 3> pos;
std::array<float, 2> angle;
@@ -59,7 +61,7 @@ namespace fmri
void configureRenderingContext() const;
void move(unsigned char key);
void move(unsigned char key, bool sprint);
void updateVisualisers();
std::string debugInfo() const;