projects
/
metatoy
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
texture mapping and shading LUTs
[metatoy]
/
src
/
kern
/
psaux.c
diff --git
a/src/kern/psaux.c
b/src/kern/psaux.c
index
a0fb58d
..
f9f6058
100644
(file)
--- a/
src/kern/psaux.c
+++ b/
src/kern/psaux.c
@@
-95,6
+95,12
@@
void set_mouse_bounds(int x0, int y0, int x1, int y1)
bounds[3] = y1;
}
+void set_mouse_pos(int x, int y)
+{
+ mx = x;
+ my = y;
+}
+
unsigned int mouse_state(int *xp, int *yp)
{
if(!intr_mode) {