Fix rendering of RenderablePrism

This commit is contained in:
Malin Ejdbo
2021-05-10 13:54:19 +02:00
parent b909888b19
commit 085f2ecf60
2 changed files with 59 additions and 43 deletions

View File

@@ -75,8 +75,9 @@ private:
const GLuint _locVertex = 0;
GLuint _vaoId = 0;
GLuint _vboId = 0;
std::vector<float> _vertexArray;
glm::dvec3 _startPos = glm::dvec3(0.0);
std::vector<float> _baseVertexArray;
std::vector<float> _topVertexArray;
std::vector<float> _linesVertexArray;
bool _prismIsDirty = false;
};