ãã¦ã¹ â é¢æ°ï¼ glutMouseFunc(void (*func)(int button, int state, int x, int y)) ãã¦ã¹ã®ãã¿ã³ãæ¼ãããã¨ãã«å®è¡ããé¢æ°ã®ãã¤ã³ã¿(é¢æ°ã®åå)ãå¼æ° func ã«æå®ï¼ å¼æ° button ã«ã¯æ¼ããããã¿ã³ï¼ã¤ã¾ã å·¦ãã¿ã³(GLUT_LEFT_BUTTON)ï¼ä¸ãã¿ã³(GLUT_MIDDLE_BUTTON)ï¼ å³ãã¿ã³(GLUT_RIGHT_BUTTON)ã渡ããï¼state ã«ã¯æ¼ãã(GLUT_DOWN)ã®ãé¢ãã(GLUT_UP)ã®ãã渡ãããï¼ x 㨠y ã«ã¯ãã¦ã¹ãæ¼ããã¨ãã®ä½ç½®ã渡ãããï¼ é¢æ°ï¼ glutMotionFunc(void (*func)(int x, int y)) ãã¦ã¹ã®ããããã®ãã¿ã³ãæ¼ããªãã ãã¦ã¹ãåãããã¨ãã«å®è¡ããé¢æ°ã®ãã¤ã³ã¿(é¢æ°ã®åå)ãå¼æ° func ã«
{{#tags}}- {{label}}
{{/tags}}