diff options
author | ccolin | 2021-01-03 17:10:26 +0100 |
---|---|---|
committer | ccolin | 2021-01-03 17:10:26 +0100 |
commit | ec4017bb0ff221c5c3e192a165c8d60a54f3bedc (patch) | |
tree | f2aff28ed1d244fd53ef73543f6d1408653ca5fa /src/opengl_widget.cc | |
parent | 14b5993f0f4bb4fc2d33394780e6d8911c8783d7 (diff) |
highlight colliding drones
Diffstat (limited to 'src/opengl_widget.cc')
-rw-r--r-- | src/opengl_widget.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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); |