Lines Matching refs:distSq
207 float distSq = check->fDistSq - 2.0f*(distVec.fX + distVec.fY - 1.0f); in F1() local
208 if (distSq < curr->fDistSq) { in F1()
211 curr->fDistSq = distSq; in F1()
218 distSq = check->fDistSq - 2.0f*distVec.fY + 1.0f; in F1()
219 if (distSq < curr->fDistSq) { in F1()
221 curr->fDistSq = distSq; in F1()
228 distSq = check->fDistSq + 2.0f*(distVec.fX - distVec.fY + 1.0f); in F1()
229 if (distSq < curr->fDistSq) { in F1()
232 curr->fDistSq = distSq; in F1()
239 distSq = check->fDistSq - 2.0f*distVec.fX + 1.0f; in F1()
240 if (distSq < curr->fDistSq) { in F1()
242 curr->fDistSq = distSq; in F1()
253 float distSq = check->fDistSq + 2.0f*distVec.fX + 1.0f; in F2() local
254 if (distSq < curr->fDistSq) { in F2()
256 curr->fDistSq = distSq; in F2()
267 float distSq = check->fDistSq - 2.0f*distVec.fX + 1.0f; in B1() local
268 if (distSq < curr->fDistSq) { in B1()
270 curr->fDistSq = distSq; in B1()
281 float distSq = check->fDistSq + 2.0f*distVec.fX + 1.0f; in B2() local
282 if (distSq < curr->fDistSq) { in B2()
284 curr->fDistSq = distSq; in B2()
291 distSq = check->fDistSq - 2.0f*(distVec.fX - distVec.fY - 1.0f); in B2()
292 if (distSq < curr->fDistSq) { in B2()
295 curr->fDistSq = distSq; in B2()
302 distSq = check->fDistSq + 2.0f*distVec.fY + 1.0f; in B2()
303 if (distSq < curr->fDistSq) { in B2()
305 curr->fDistSq = distSq; in B2()
312 distSq = check->fDistSq + 2.0f*(distVec.fX + distVec.fY + 1.0f); in B2()
313 if (distSq < curr->fDistSq) { in B2()
316 curr->fDistSq = distSq; in B2()