Lines Matching defs:rad
136 void pointx_validate(void *con, const GGLcoord* v, GGLcoord rad)
149 c->procs.pointx(con, v, rad);
152 void pointx(void *con, const GGLcoord* v, GGLcoord rad)
155 GGLcoord halfSize = TRI_ROUND(rad) >> 1;
207 GGLcoord rad = ((size + 1)>>1);
208 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS;
209 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS;
210 GGLint r = (v[0] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS;
211 GGLint b = (v[1] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS;
236 GGLcoord rr = rad*rad;
237 GGLcoord rmin = (rad - sqr2Over2)*(rad - sqr2Over2);
238 GGLcoord rmax = (rad + sqr2Over2)*(rad + sqr2Over2);
272 GGLcoord rad = ((size + 1)>>1);
273 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS;
274 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS;
275 GGLint r = (v[0] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS;
276 GGLint b = (v[1] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS;
300 rad <<= 4;
302 GGLcoord rmin = rad - sqr2Over2;
303 GGLcoord rmax = rad + sqr2Over2;