X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fstonerview-move.c;fp=hacks%2Fglx%2Fstonerview-move.c;h=fc2931d4a4bc5d81e9e2eef4ac7c1cdc88dd5c3d;hb=6f5482d73adb0165c0130bb47d852644ab0c4869;hp=b8a2041b17b4fb1fffd3359d2dd382b77fba8508;hpb=c70f94f648d51bb4828193124f325fa52b0e57f3;p=xscreensaver diff --git a/hacks/glx/stonerview-move.c b/hacks/glx/stonerview-move.c index b8a2041b..fc2931d4 100644 --- a/hacks/glx/stonerview-move.c +++ b/hacks/glx/stonerview-move.c @@ -32,7 +32,7 @@ void -init_move(stonerview_state *st) +stonerview_init_move(stonerview_state *st) { /*st->theta = new_osc_linear( new_osc_wrap(0, 36000, 25), @@ -95,15 +95,12 @@ init_move(stonerview_state *st) new_osc_buffer(st, new_osc_wrap(st, 0, 3600, 17)), new_osc_buffer(st, new_osc_wrap(st, 0, 3600, 7))); - move_increment(st); -} - -void final_move(stonerview_state *st) -{ + stonerview_move_increment(st); } /* Set up the list of polygon data for rendering. */ -void move_increment(stonerview_state *st) +void +stonerview_move_increment(stonerview_state *st) { int ix, val; /* GLfloat fval; */ @@ -112,7 +109,7 @@ void move_increment(stonerview_state *st) GLfloat ptrad, pttheta; for (ix=0; ixnum_els; ix++) { - elem_t *el = &st->elist[ix]; + stonerview_elem_t *el = &st->elist[ix]; /* Grab r and theta... */ val = osc_get(st, st->theta, ix);