Searched refs:distance2 (Results 1 – 3 of 3) sorted by relevance
593 const auto distance2 = std::abs(frameRate - *std::prev(lowerBound)); in findClosestKnownFrameRate() local594 return distance1 < distance2 ? *lowerBound : *std::prev(lowerBound); in findClosestKnownFrameRate()
302 inline float distance2(float x, float y, float z) { in distance2() function307 return sqrtf(distance2(x, y, z)); in distance()
434 friend inline constexpr T PURE distance2(const VECTOR<T>& lv, const VECTOR<RT>& rv) { in distance2() function