1UNTITLED LOCAL UNTITLED
2
4 glutSpaceballMotionFunc — Sets a spaceball motion callback.
5
7 OpenGLUT - input
8
10 #include <openglut.h>
11
12 void
13 glutSpaceballMotionFunc(void( *callback )( int x, int y, int z ));
14
16 callback Client spaceball motion hook.
17
19 This function registers a callback for a spaceball to report position. A
20 spaceball has six axes of freedom (three of motion and three of orienta‐
21 tion), plus buttons. The spaceball allows you to move a control point in
22 3D space with a resolution of +/- 1000 units along each of 3 axes.
23
24 The callback is bound to the current window .
25
27 OpenGLUT does not implement spaceball support.
28
30 glutSpaceballRotateFunc(3) glutSpaceballButtonFunc,(3)
31
32
33
34
35 Epoch