Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 591bb01e authored by Nick Kralevich's avatar Nick Kralevich Committed by Android (Google) Code Review
Browse files

Merge "Switch from FloatMath -> Math and Math.hypot where possible"

parents 8a676c08 bf96737e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ public abstract class Spline {
                        throw new IllegalArgumentException("The control points must have "
                                + "monotonic Y values.");
                    }
                    float h = FloatMath.hypot(a, b);
                    float h = (float) Math.hypot(a, b);
                    if (h > 9f) {
                        float t = 3f / h;
                        m[i] = t * a * d[i];