Searched refs:foundDistance (Results 1 – 2 of 2) sorted by relevance
103 int foundDistance = XRES + YRES; in Element_ETRD_nearestSparkablePart() local121 if (foundDistance < checkDistance) in Element_ETRD_nearestSparkablePart()126 if (sim->InBounds(checkPos.X, checkPos.Y) && checkDistance <= foundDistance) in Element_ETRD_nearestSparkablePart()129 …r && TYP(r) == PT_ETRD && !parts[ID(r)].life && ID(r) != targetId && checkDistance < foundDistance) in Element_ETRD_nearestSparkablePart()131 foundDistance = checkDistance; in Element_ETRD_nearestSparkablePart()146 if (checkDistance < foundDistance && i != targetId) in Element_ETRD_nearestSparkablePart()148 foundDistance = checkDistance; in Element_ETRD_nearestSparkablePart()166 if (checkDistance < foundDistance && i != targetId) in Element_ETRD_nearestSparkablePart()168 foundDistance = checkDistance; in Element_ETRD_nearestSparkablePart()
1062 qreal foundDistance = 0.0; variable1063 …al foundT = KisBezierUtils::nearestPoint({it.p0(), it.p1(), it.p2(), it.p3()}, pt, &foundDistance);1065 if (foundDistance < minDistance && foundDistance < distanceThreshold) {1067 minDistance = foundDistance;