Searched refs:rmin2 (Results 1 – 2 of 2) sorted by relevance
309 const GLfloat rmin2 = MAX2(0.0F, rmin * rmin); in smooth_point() local311 const GLfloat cscale = 1.0F / (rmax2 - rmin2); in smooth_point()333 if (dist2 >= rmin2) { in smooth_point()335 coverage = 1.0F - (dist2 - rmin2) * cscale; in smooth_point()
1293 const float rmin2 = MAX2(0.0F, rmin * rmin); in sp_setup_point() local1295 const float cscale = 1.0F / (rmax2 - rmin2); in sp_setup_point()1308 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()1317 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()1326 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()1335 cover = 1.0F - (dist2 - rmin2) * cscale; in sp_setup_point()