Lines Matching refs:dist2
1300 float dx, dy, dist2, cover;
1306 dist2 = dx * dx + dy * dy;
1307 if (dist2 <= rmax2) {
1308 cover = 1.0F - (dist2 - rmin2) * cscale;
1315 dist2 = dx * dx + dy * dy;
1316 if (dist2 <= rmax2) {
1317 cover = 1.0F - (dist2 - rmin2) * cscale;
1324 dist2 = dx * dx + dy * dy;
1325 if (dist2 <= rmax2) {
1326 cover = 1.0F - (dist2 - rmin2) * cscale;
1333 dist2 = dx * dx + dy * dy;
1334 if (dist2 <= rmax2) {
1335 cover = 1.0F - (dist2 - rmin2) * cscale;