projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.x.org/contrib/applications/xscreensaver-3.21.tar.gz
[xscreensaver]
/
hacks
/
glx
/
sierpinski3d.c
diff --git
a/hacks/glx/sierpinski3d.c
b/hacks/glx/sierpinski3d.c
index 0f8e4df585794a6f667d71153da554a3f59ba63a..9a783a04794600165780e6b80f64ef05f3fa6b53 100644
(file)
--- a/
hacks/glx/sierpinski3d.c
+++ b/
hacks/glx/sierpinski3d.c
@@
-184,9
+184,9
@@
pinit(ModeInfo *mi)
{
gasketstruct *gp = &gasket[MI_SCREEN(mi)];
{
gasketstruct *gp = &gasket[MI_SCREEN(mi)];
- gp->xinc = 0.1*(1.0*rand()/RAND_MAX);
- gp->yinc = 0.1*(1.0*rand()/RAND_MAX);
- gp->zinc = 0.1*(1.0*rand()/RAND_MAX);
+ gp->xinc = 0.1*(1.0*rand
om
()/RAND_MAX);
+ gp->yinc = 0.1*(1.0*rand
om
()/RAND_MAX);
+ gp->zinc = 0.1*(1.0*rand
om
()/RAND_MAX);
gp->light_colour[0] = 6.0;
gp->light_colour[1] = 6.0;
gp->light_colour[2] = 6.0;
gp->light_colour[0] = 6.0;
gp->light_colour[1] = 6.0;
gp->light_colour[2] = 6.0;