freeGLUT가 아닌 이상에는
역시나 GLUT에는 마우스 콜백중 휠관련은 없는건가..
[링크 : http://www.opengl.org/resources/libraries/glut/spec3/node45.html]
[링크 : http://www.opengl.org/resources/libraries/glut/spec3/node49.html] << 키 입력
[링크 : http://www.opengl.org/resources/libraries/glut/spec3/node50.html] << 마우스 입력
[링크 : http://www.opengl.org/resources/libraries/glut/spec3/node54.html] << F1 와 같은 펑션키
 
[링크 : http://www.cosc.brocku.ca/Offerings/3P98/course/lectures/OpenGL/glut_ref.html]
----
2011.09.29 추가
휠 관련 freeglut 콜백
glutMouseWheelFunc(void( *callback )( int wheel, int direction, int x, int y ));
[링크 : http://linux.die.net/man/3/glutmousewheelfunc]
            
                    
                    
역시나 GLUT에는 마우스 콜백중 휠관련은 없는건가..
[링크 : http://www.opengl.org/resources/libraries/glut/spec3/node45.html]
[링크 : http://www.opengl.org/resources/libraries/glut/spec3/node49.html] << 키 입력
[링크 : http://www.opengl.org/resources/libraries/glut/spec3/node50.html] << 마우스 입력
[링크 : http://www.opengl.org/resources/libraries/glut/spec3/node54.html] << F1 와 같은 펑션키
| glutKeyboardFunc(void (*func)(unsigned char key, int x, int y)) 
    sets key processing routine 
    x and y are mouse coordinates when the key 'key' was pressed 
    see glutGetModifiers for state of modifier keys (eg. ctrl,...) 
glutSpecialFunc(void (*func)(int key, int x, int y));
glutMouseFunc(void (*func)(int button, int state, int x, int y)) 
    mouse function callback 
    button: GLUT_LEFT_BUTTON, GLUT_MIDDLE_BUTTON, GLUT_RIGHT_BUTTON 
    state: GLUT_UP, GLUT_DOWN 
    x, y: mouse coordinates  | 
----
2011.09.29 추가
휠 관련 freeglut 콜백
glutMouseWheelFunc(void( *callback )( int wheel, int direction, int x, int y ));
[링크 : http://linux.die.net/man/3/glutmousewheelfunc]
'Programming > openGL' 카테고리의 다른 글
| glFrustum - 절두체 (6) | 2011.03.30 | 
|---|---|
| openGL tutorial - 태양과 지구 돌리기 (0) | 2011.03.29 | 
| freeglut (0) | 2011.03.26 | 
| openGL - glbegin() (2) | 2011.03.25 | 
| openGL - glortho() (4) | 2011.03.25 | 
