Lines Matching refs:y0
139 float x0, y0, x1, y1, width;
143 y0 = stars[n].y[0] * windH / stars[n].z[0];
144 RotatePoint(&x0, &y0, stars[n].rotation);
146 y0 += windH / 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);
174 float y = y0 + width * Sin((float)i*MAXANGLES/8.0);