From ec4017bb0ff221c5c3e192a165c8d60a54f3bedc Mon Sep 17 00:00:00 2001 From: ccolin Date: Sun, 3 Jan 2021 17:10:26 +0100 Subject: highlight colliding drones --- src/opengl_widget.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/opengl_widget.cc') diff --git a/src/opengl_widget.cc b/src/opengl_widget.cc index 6919086..29361c5 100644 --- a/src/opengl_widget.cc +++ b/src/opengl_widget.cc @@ -186,6 +186,7 @@ void OpenGLWidget::paintGL() { main_program.bind(); main_program.setUniformValue("proj", proj); main_program.setUniformValue("view", view); + main_program.setUniformValue("highlight", false); glActiveTexture(GL_TEXTURE0); ground->draw(this, QMatrix4x4()); if (painter) painter->draw(this); -- cgit v1.2.3-70-g09d2