mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 18:29:50 +01:00
fix bezier step approx
This commit is contained in:
parent
66b8629964
commit
c5aa20f226
1 changed files with 1 additions and 1 deletions
|
@ -69,5 +69,5 @@ float CBezierCurve::getYForPoint(float x) {
|
|||
if (std::isnan(PERCINDELTA) || std::isinf(PERCINDELTA)) // can sometimes happen for VERY small x
|
||||
return 0.f;
|
||||
|
||||
return LOWERPOINT->y + (UPPERPOINT->y - UPPERPOINT->y) * PERCINDELTA;
|
||||
return LOWERPOINT->y + (UPPERPOINT->y - LOWERPOINT->y) * PERCINDELTA;
|
||||
}
|
Loading…
Reference in a new issue