add option to draw trajectories
This commit is contained in:
@ -32,4 +32,5 @@ void OpenGLMesh::draw(QOpenGLExtraFunctions *f, const QMatrix4x4 &mat) const {
|
||||
if (tex) tex->bind();
|
||||
f->glDrawArrays(GL_TRIANGLES, 0, nverts);
|
||||
if (tex) tex->release();
|
||||
f->glBindVertexArray(0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user