Unify drawing of layers and interactions into "drawables".

This commit is contained in:
2018-04-06 13:06:03 +02:00
parent 9dc4f1546d
commit 2138ce440a
14 changed files with 63 additions and 54 deletions

View File

@@ -12,12 +12,11 @@ namespace fmri
public:
explicit FlatLayerVisualisation(const LayerData &layer, Ordering ordering);
void render() override;
void draw(float time) override;
private:
Ordering ordering;
std::vector<float> vertexBuffer;
std::vector<Color> colorBuffer;
std::vector<int> indexBuffer;
std::vector<int> activeIndexBuffer;