projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-4.22.tar.gz
[xscreensaver]
/
hacks
/
glx
/
sphere.c
diff --git
a/hacks/glx/sphere.c
b/hacks/glx/sphere.c
index 5aba74f0ddffbdf2c46dbe072f9ba2d84191d819..07d644f7ad9f4e9036c9d2391e92acd3853ea7b9 100644
(file)
--- a/
hacks/glx/sphere.c
+++ b/
hacks/glx/sphere.c
@@
-29,7
+29,7
@@
unit_sphere (int stacks, int slices, Bool wire)
int i,j;
double theta1, theta2, theta3;
XYZ e, p;
int i,j;
double theta1, theta2, theta3;
XYZ e, p;
- XYZ la
, lb
;
+ XYZ la
= { 0, 0, 0 }, lb = { 0, 0, 0 }
;
XYZ c = {0, 0, 0}; /* center */
double r = 1.0; /* radius */
int stacks2 = stacks * 2;
XYZ c = {0, 0, 0}; /* center */
double r = 1.0; /* radius */
int stacks2 = stacks * 2;