Implement some kind of animation.

The animation is still all wrong, but it is there at least.
This commit is contained in:
2018-02-13 15:41:01 +01:00
parent c033f08d04
commit 16665a588a
4 changed files with 16 additions and 11 deletions

View File

@@ -82,6 +82,9 @@ static void render()
glPushMatrix();
renderLayerName(dataSet[i]);
rendererData.layerVisualisations[i]->render();
if (i < rendererData.animations.size() && rendererData.animations[i]) {
rendererData.animations[i]->draw(rendererData.animationStep);
}
glPopMatrix();
glTranslatef(-10, 0, 0);