summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/assimp/contrib/poly2tri/poly2tri/common/shapes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty/assimp/contrib/poly2tri/poly2tri/common/shapes.h')
-rw-r--r--src/3rdparty/assimp/contrib/poly2tri/poly2tri/common/shapes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/assimp/contrib/poly2tri/poly2tri/common/shapes.h b/src/3rdparty/assimp/contrib/poly2tri/poly2tri/common/shapes.h
index f3b3c65a1..4f691838f 100644
--- a/src/3rdparty/assimp/contrib/poly2tri/poly2tri/common/shapes.h
+++ b/src/3rdparty/assimp/contrib/poly2tri/poly2tri/common/shapes.h
@@ -107,7 +107,7 @@ struct Point {
/// Get the length of this point (the norm).
double Length() const
{
- return std::sqrt(x * x + y * y);
+ return sqrt(x * x + y * y);
}
/// Convert this point into a unit point. Returns the Length.