예제 #1
0
 public static bool GetMouseButton(GlfwWindowPtr window, MouseButton button)
 {
     return(GlfwDelegates.glfwGetMouseButton(window, button) != 0);
 }
예제 #2
0
 public static bool GetMouseButton(MouseButton button)
 {
     return(GlfwDelegates.glfwGetMouseButton((int)button) == 1);
 }