mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 13:46:41 +02:00
11 lines
512 B
Text
11 lines
512 B
Text
--- ./flutter/impeller/entity/geometry/round_superellipse_geometry.cc.orig
|
|
+++ ./flutter/impeller/entity/geometry/round_superellipse_geometry.cc
|
|
@@ -419,7 +419,7 @@
|
|
Point pointM{size / 2 - g, size / 2 - g};
|
|
Point pointS{s, s};
|
|
Point pointJ =
|
|
- Point{pow(abs(sinf(thetaJ)), 2 / n), pow(abs(cosf(thetaJ)), 2 / n)} * a +
|
|
+ Point{std::powf(std::fabs(sinf(thetaJ)), 2 / n), std::powf(std::fabs(cosf(thetaJ)), 2 / n)} * a +
|
|
pointS;
|
|
Matrix translationS = Matrix::MakeTranslation(pointS);
|
|
|