Lines Matching refs:dist2
1263 float dx, dy, dist2, cover; in sp_setup_point() local
1269 dist2 = dx * dx + dy * dy; in sp_setup_point()
1270 if (dist2 <= rmax2) { in sp_setup_point()
1271 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()
1278 dist2 = dx * dx + dy * dy; in sp_setup_point()
1279 if (dist2 <= rmax2) { in sp_setup_point()
1280 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()
1287 dist2 = dx * dx + dy * dy; in sp_setup_point()
1288 if (dist2 <= rmax2) { in sp_setup_point()
1289 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()
1296 dist2 = dx * dx + dy * dy; in sp_setup_point()
1297 if (dist2 <= rmax2) { in sp_setup_point()
1298 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()