Module: GLApp::Helpers

Defined in:
lib/glapp.rb

Instance Method Summary collapse

Instance Method Details

#clearObject



48
49
50
# File 'lib/glapp.rb', line 48

def clear
  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
end