Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutspaceballrotatefunc(3glut) [osx man page]

glutSpaceballRotateFunc(3GLUT)					       GLUT					    glutSpaceballRotateFunc(3GLUT)

NAME
glutSpaceballRotateFunc - sets the Spaceball rotation callback for the current window. SYNTAX
#include <GLUT/glut.h> void glutSpaceballRotateFunc(void (*func)(int x, int y, int z)); ARGUMENTS
func The new spaceball rotate callback function. DESCRIPTION
glutSpaceballRotateFunc sets the Spaceball rotate callback for the current window. The Spaceball rotate callback for a window is called when the window has Spaceball input focus (normally, when the mouse is in the window) and the user generates Spaceball rotations. The x, y, and z callback parameters indicate the rotation along the X, Y, and Z axes. The callback parameters are normalized to be within the range of -1800 to 1800 inclusive. Registering a Spaceball rotate callback when a Spaceball device is not available is ineffectual and not an error. In this case, no Space- ball rotate callbacks will be generated. Passing NULL to glutSpaceballRotateFunc disables the generation of Spaceball rotate callbacks. When a new window is created, no Spaceball rotate callback is initially registered. SEE ALSO
glutSpaceballMotionFunc, glutSpaceballButtonFunc, glutMotionFunc, glutTabletMotionFunc, glutJoystickFunc, glutDeviceGet AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutSpaceballRotateFunc(3GLUT)

Check Out this Related Man Page

glutSpaceballRotateFunc(3GLUT)					       GLUT					    glutSpaceballRotateFunc(3GLUT)

NAME
glutSpaceballRotateFunc - sets the Spaceball rotation callback for the current window. SYNTAX
void glutSpaceballRotateFunc(void (*func)(int x, int y, int z)); ARGUMENTS
func The new spaceball rotate callback function. DESCRIPTION
glutSpaceballRotateFunc sets the Spaceball rotate callback for the current window. The Spaceball rotate callback for a window is called when the window has Spaceball input focus (normally, when the mouse is in the window) and the user generates Spaceball rotations. The x, y, and z callback parameters indicate the rotation along the X, Y, and Z axes. The callback parameters are normalized to be within the range of -1800 to 1800 inclusive. Registering a Spaceball rotate callback when a Spaceball device is not available is ineffectual and not an error. In this case, no Space- ball rotate callbacks will be generated. Passing NULL to glutSpaceballRotateFunc disables the generation of Spaceball rotate callbacks. When a new window is created, no Spaceball rotate callback is initially registered. SEE ALSO
glutSpaceballMotionFunc, glutSpaceballButtonFunc, glutMotionFunc, glutTabletMotionFunc, glutJoystickFunc, glutDeviceGet AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutSpaceballRotateFunc(3GLUT)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

log rotate

hi , what is the meaning of log rotate? how do i rotate /var/adm/wtmps log and gzip it? (6 Replies)
Discussion started by: cromohawk
6 Replies

2. Web Development

Mod_Jk Log rotation

Hi , I have cronolog (http://cronolog.org/) setup to rotate both my error and access logs, but how can I use it to rotate my mod_jk.log file. I tried different things but cant get it to work. I want to end up where all three files will be rotated daily in YYYY/MM/DD folder format. thanks (0 Replies)
Discussion started by: new2learn09
0 Replies

3. Programming

How to rotate text in 3D using openGL code

Hi, I want to know how to write text in window and that is to be rotated in 3D using openGL in C language... any answer will have value .... (0 Replies)
Discussion started by: Ravikishore
0 Replies

4. UNIX for Dummies Questions & Answers

logrotate ignore 'rotate' setting.

the 'rotate' setting in my logrotate configurations is being ignored when run from the crontab. I have tested my configurations using the "-d" option, the rotation count is working when I do the test. Here are my configuration settings, is there anything I am doing wrong? # cat -n... (5 Replies)
Discussion started by: frankkoenen
5 Replies

5. Shell Programming and Scripting

"Customized" log rotate script - some advice please

Hi, Am trying to write my own version of a log rotate scripts 'coz I don't have the logrotate for other flavors of *nix servers. Probably should try and download the source and re-compile but our SA don't want to do so. Anyway, just want to know if there is any way to improve on the code... (0 Replies)
Discussion started by: newbie_01
0 Replies

6. HP-UX

How To Rotate A File in HP-UX?

I need to rotate a file in HP-UX of a application. I´ve tried to do a task in the cron with a script (with sed and ed commands) but it was a successfully option (the application continued writing the file :( ) LINEAS_OUT=$(wc -l < $RMISTDOUT) LINEAS_FIN=1,expr $LINEAS_OUT - 100p sed... (19 Replies)
Discussion started by: werkraft
19 Replies

7. Shell Programming and Scripting

Log rotator

Hello guys. i have couple of log files which i need to rotate them . so i need a script to run every 30 minutes in the server and rotate the log files if they size pass the 100MB. would you please help me? (4 Replies)
Discussion started by: Ymir
4 Replies