Searched refs:maxSlope (Results 1 – 1 of 1) sorted by relevance
159 const S maxSlope = 3 * sec; in findY() local160 m0 = constrainSlope(m0, maxSlope); in findY()161 m1 = constrainSlope(m1, maxSlope); in findY()311 static S constrainSlope(S slope, S maxSlope) { in constrainSlope() argument312 if (maxSlope > 0) { in constrainSlope()313 slope = std::min(slope, maxSlope); in constrainSlope()316 slope = std::max(slope, maxSlope); in constrainSlope()