projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.tienza.es/crux/src/www.jwz.org/xscreensaver/xscreensaver-5.04.tar.gz
[xscreensaver]
/
hacks
/
glx
/
glknots.c
diff --git
a/hacks/glx/glknots.c
b/hacks/glx/glknots.c
index 978b70f097e609fe0108d8a9d7c670f686edf1f3..f12e4348dae948c7d0dabfbb49825eb8e7633f0f 100644
(file)
--- a/
hacks/glx/glknots.c
+++ b/
hacks/glx/glknots.c
@@
-1,4
+1,4
@@
-/* glknots, Copyright (c) 2003-200
6
Jamie Zawinski <jwz@jwz.org>
+/* glknots, Copyright (c) 2003-200
7
Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@
-158,12
+158,10
@@
make_knot (ModeInfo *mi)
di = (di * di * 3);
}
di = (di * di * 3);
}
- tube (ox, oy, oz,
- x, y, z,
- di, dist/3,
- faces, True, wire, wire);
-
- mi->polygon_count += faces;
+ mi->polygon_count += tube (ox, oy, oz,
+ x, y, z,
+ di, dist/3,
+ faces, True, wire, wire);
}
ox = x;
}
ox = x;