Searched refs:rmin2 (Results 1 – 2 of 2) sorted by relevance
308 const GLfloat rmin2 = MAX2(0.0F, rmin * rmin); in smooth_point() local310 const GLfloat cscale = 1.0F / (rmax2 - rmin2); in smooth_point()332 if (dist2 >= rmin2) { in smooth_point()334 coverage = 1.0F - (dist2 - rmin2) * cscale; in smooth_point()
1336 const float rmin2 = MAX2(0.0F, rmin * rmin); in sp_setup_point() local1338 const float cscale = 1.0F / (rmax2 - rmin2); in sp_setup_point()1351 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()1360 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()1369 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()1378 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()