func KeyCallBack(w *glfw.Window, key glfw.Key, scancode int, action glfw.Action, mods glfw.ModifierKey) {
	if action == glfw.Press {
		down[key] = true
		downThisFrame[key] = true
	}
	if action == glfw.Release {
		down[key] = false
	}
}
// KeyCallBack is the function bound to handle key events from OpenGL.
KeyCallBack is the function bound to handle key events from OpenGL.
// KeyCallBack is the function bound to handle key events from OpenGL .
func KeyCallBack(w *glfw.Window, key glfw.Key, scancode int, action glfw.Action, mods glfw.ModifierKey) {
	if action == glfw.Press {
		down[key] = true
		downThisFrame[key] = true
	}
	if action == glfw.Release {
		down[key] = false
	}
}
func KeyCallBack ( w * glfw . Window , key glfw . Key , scancode int , action glfw . Action , mods glfw . ModifierKey ) { if action == glfw . Press { down [ key ] = true downThisFrame [ key ] = true } if action == glfw . Release { down [ key ] = false } }
KeyCallBack is the function bound to handle key events from OpenGL.
KeyCallBack is the function bound to handle key events from OpenGL .