Searched refs:projectionLengthSqr (Results 1 – 1 of 1) sorted by relevance
108 const float projectionLengthSqr = dotProduct / lineLengthSqr; in pointToLineSegSquaredDistanceFloat() local112 if (!extend && projectionLengthSqr < 0.0f) { in pointToLineSegSquaredDistanceFloat()115 } else if (!extend && projectionLengthSqr > 1.0f) { in pointToLineSegSquaredDistanceFloat()119 projectionX = x1 + projectionLengthSqr * ray2x; in pointToLineSegSquaredDistanceFloat()120 projectionY = y1 + projectionLengthSqr * ray2y; in pointToLineSegSquaredDistanceFloat()