Searched refs:fHigh (Results 1 – 2 of 2) sorted by relevance
84 double snapToRange(double v, double fLow, double fHigh) in snapToRange() argument86 if(fTools::equal(fLow, fHigh)) in snapToRange()93 if(fLow > fHigh) in snapToRange()96 std::swap(fLow, fHigh); in snapToRange()99 if(v < fLow || v > fHigh) in snapToRange()101 return snapToZeroRange(v - fLow, fHigh - fLow) + fLow; in snapToRange()
161 BASEGFX_DLLPUBLIC double snapToRange(double v, double fLow, double fHigh);
Completed in 21 milliseconds