21static JBXL_GLUT_MOUSESTATE GlutMouseState;
23static long int GlutMouseXPos;
24static long int GlutMouseYPos;
25static long int GlutMouseZPos;
31void jbxl::JbxlGlutInit(
int argc,
char** argv)
33 memset(&GlutMouseState, 0,
sizeof(JBXL_GLUT_MOUSESTATE));
39 glutInit(&argc, argv);
44void jbxl::_jbxlGlutMouseProc(
int button,
int state,
int x,
int y)
47 case GLUT_LEFT_BUTTON:
50 case GLUT_MIDDLE_BUTTON:
53 case GLUT_RIGHT_BUTTON:
61void jbxl::JbxlGlutInitMouse(
void)
63 glutMouseFunc(jbxl::_jbxlGlutMouseProc);