X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fsphere.c;h=07d644f7ad9f4e9036c9d2391e92acd3853ea7b9;hp=5aba74f0ddffbdf2c46dbe072f9ba2d84191d819;hb=3f438031d610c7e15fd33876a879b97e290e05fb;hpb=447db08c956099b3b183886729108bf5b364c4b8 diff --git a/hacks/glx/sphere.c b/hacks/glx/sphere.c index 5aba74f0..07d644f7 100644 --- 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; - 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;