Lines Matching defs:x0
139 float x0, y0, x1, y1, width;
142 x0 = stars[n].x[0] * windW / stars[n].z[0];
144 RotatePoint(&x0, &y0, stars[n].rotation);
145 x0 += windW / 2.0;
148 if (x0 >= 0.0 && x0 < windW && y0 >= 0.0 && y0 < windH) {
158 if (fabs(x0-x1) < 1.0 && fabs(y0-y1) < 1.0) {
160 glVertex2f(x0, y0);
164 glVertex2f(x0, y0);
173 float x = x0 + width * Cos((float)i*MAXANGLES/8.0);