Home | History | Annotate | Download | only in core

Lines Matching defs:distSq

202     float distSq = check->fDistSq - 2.0f*(distVec.fX + distVec.fY - 1.0f);
203 if (distSq < curr->fDistSq) {
206 curr->fDistSq = distSq;
213 distSq = check->fDistSq - 2.0f*distVec.fY + 1.0f;
214 if (distSq < curr->fDistSq) {
216 curr->fDistSq = distSq;
223 distSq = check->fDistSq + 2.0f*(distVec.fX - distVec.fY + 1.0f);
224 if (distSq < curr->fDistSq) {
227 curr->fDistSq = distSq;
234 distSq = check->fDistSq - 2.0f*distVec.fX + 1.0f;
235 if (distSq < curr->fDistSq) {
237 curr->fDistSq = distSq;
248 float distSq = check->fDistSq + 2.0f*distVec.fX + 1.0f;
249 if (distSq < curr->fDistSq) {
251 curr->fDistSq = distSq;
262 float distSq = check->fDistSq - 2.0f*distVec.fX + 1.0f;
263 if (distSq < curr->fDistSq) {
265 curr->fDistSq = distSq;
276 float distSq = check->fDistSq + 2.0f*distVec.fX + 1.0f;
277 if (distSq < curr->fDistSq) {
279 curr->fDistSq = distSq;
286 distSq = check->fDistSq - 2.0f*(distVec.fX - distVec.fY - 1.0f);
287 if (distSq < curr->fDistSq) {
290 curr->fDistSq = distSq;
297 distSq = check->fDistSq + 2.0f*distVec.fY + 1.0f;
298 if (distSq < curr->fDistSq) {
300 curr->fDistSq = distSq;
307 distSq = check->fDistSq + 2.0f*(distVec.fX + distVec.fY + 1.0f);
308 if (distSq < curr->fDistSq) {
311 curr->fDistSq = distSq;