diff -r 272c84c7c87e -r 98645c8e7704 src/gl/compiler.h --- a/src/gl/compiler.h Sun Feb 02 00:58:59 2020 +0200 +++ b/src/gl/compiler.h Thu Feb 06 20:33:05 2020 +0200 @@ -39,6 +39,7 @@ glm::vec3 position; glm::vec4 color; glm::vec3 normal; + glm::vec3 id; }; } @@ -87,6 +88,7 @@ struct { QOpenGLShaderProgram* program = nullptr; + QOpenGLShaderProgram* pickSceneProgram = nullptr; QOpenGLBuffer buffer{QOpenGLBuffer::VertexBuffer}; QOpenGLVertexArrayObject vertexArray; } glObjects[gl::NUM_ARRAY_CLASSES];