Home | History | Annotate | Download | only in opengl

Lines Matching defs:sw

49  * copying the portion satisfying sign*s[index] < k*sw into q,
72 tu = sign*COORD(u, index) - u->sw*k;
76 tv = sign*COORD(v, index) - v->sw*k;
95 * using the homogeneous screen coordinates (sx, sy, sz, sw) of each vertex,
96 * testing if v->sx/v->sw > box->x0 and v->sx/v->sw < box->x1,
116 float sw = v->sw;
117 if (v->sx < -sw) x0out++; /* out on left */
118 if (v->sx > sw) x1out++; /* out on right */
119 if (v->sy < -sw) y0out++; /* out on top */
120 if (v->sy > sw) y1out++; /* out on bottom */
121 if (v->sz < -sw) z0out++; /* out on near */
122 if (v->sz > sw) z1out++; /* out on far */