Method used to clear the OpenGL buffer.
()
| 164 | * Method used to clear the OpenGL buffer. |
| 165 | */ |
| 166 | private void clearBuffer() { |
| 167 | GL32.glClearColor(colorBg.getRed(), colorBg.getGreen(), colorBg.getBlue(), colorBg.getAlpha()); |
| 168 | GL32.glClear(GL32.GL_COLOR_BUFFER_BIT | GL32.GL_DEPTH_BUFFER_BIT); |
| 169 | } |
| 170 | |
| 171 | /** |
| 172 | * Method called at the beginning of the main cycle. |
no test coverage detected