glutSpaceballRotateFunc - Man Page

Sets a spaceball rotation callback.

Library

OpenGLUT - input

Synopsis

#include <openglut.h>

void
glutSpaceballRotateFunc(void( *callback )( int x, int y, int z ));

Parameters


callback

Client spaceball rotation hook.

Description

This function registers a callback for a spaceball to report rotation. A spaceball has six axes of freedom (three of motion and three of orientation), plus buttons. The spaceball allows you to rotate a control orientation +/- 1800 units about each of 3 axes.

The callback is bound to the


current window

.

Caveats

OpenGLUT does not implement spaceball support.

See Also

glutSpaceballMotionFunc(3) glutSpaceballButtonFunc,(3)

Referenced By

glutSpaceballButtonFunc(3), glutSpaceballMotionFunc(3).