projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.37.tar.gz
[xscreensaver]
/
hacks
/
glx
/
gltrackball.h
diff --git
a/hacks/glx/gltrackball.h
b/hacks/glx/gltrackball.h
index 72a4a62765a392d084ca78363cb2dc6c7c37f2cd..ba9e574691e76f46f1eea03d31db976e71d62d39 100644
(file)
--- a/
hacks/glx/gltrackball.h
+++ b/
hacks/glx/gltrackball.h
@@
-1,4
+1,4
@@
-/* gltrackball, Copyright (c) 2002-201
4
Jamie Zawinski <jwz@jwz.org>
+/* gltrackball, Copyright (c) 2002-201
7
Jamie Zawinski <jwz@jwz.org>
* GL-flavored wrapper for trackball.c
*
* Permission to use, copy, modify, distribute, and sell this software and its
* GL-flavored wrapper for trackball.c
*
* Permission to use, copy, modify, distribute, and sell this software and its
@@
-55,9
+55,10
@@
void gltrackball_mousewheel (trackball_state *ts,
*/
extern void gltrackball_get_quaternion (trackball_state *ts, float q[4]);
*/
extern void gltrackball_get_quaternion (trackball_state *ts, float q[4]);
-/* Reset the trackball to the default unrotated state.
+/* Reset the trackball to the default unrotated state,
+ plus an optional initial rotation.
*/
*/
-extern void gltrackball_reset (trackball_state *ts);
+extern void gltrackball_reset (trackball_state *ts
, float x, float y
);
/* A utility function for event-handler functions:
Handles the various motion and click events related to trackballs.
/* A utility function for event-handler functions:
Handles the various motion and click events related to trackballs.