summaryrefslogtreecommitdiff
path: root/core/math/geometry_2d.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-02-12 10:01:48 +0100
committerGitHub <noreply@github.com>2022-02-12 10:01:48 +0100
commitdaf9729b925ea13d77312bb3ce18198e158c03a8 (patch)
tree44dba39a46237db559a8ab82189328f171492edd /core/math/geometry_2d.cpp
parent7a7fabe4f6d66ffb0c0fbbaf1696e67456c383d7 (diff)
parent5298e16e80e032a7ff0c6a661b826859e5aeccd0 (diff)
Merge pull request #57703 from lawnjelly/float_literals_math_funcs
Diffstat (limited to 'core/math/geometry_2d.cpp')
-rw-r--r--core/math/geometry_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/geometry_2d.cpp b/core/math/geometry_2d.cpp
index 9fa45a3363..b1af91c49c 100644
--- a/core/math/geometry_2d.cpp
+++ b/core/math/geometry_2d.cpp
@@ -290,7 +290,7 @@ Vector<Vector<Point2>> Geometry2D::_polypath_offset(const Vector<Point2> &p_poly
et = etOpenRound;
break;
}
- ClipperOffset co(2.0, 0.25 * SCALE_FACTOR); // Defaults from ClipperOffset.
+ ClipperOffset co(2.0, 0.25f * SCALE_FACTOR); // Defaults from ClipperOffset.
Path path;
// Need to scale points (Clipper's requirement for robust computation).