From f82f357754aa9f7037a43a6467fea63e903311bf Mon Sep 17 00:00:00 2001 From: Bastian Rieck Date: Mon, 1 Aug 2011 09:21:54 +0200 Subject: [PATCH] Fixed compilation error in `v3ctor` class --- v3ctor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3ctor.cpp b/v3ctor.cpp index d62c3cb..20d24f4 100644 --- a/v3ctor.cpp +++ b/v3ctor.cpp @@ -299,7 +299,7 @@ std::ostream& operator<<(std::ostream& o, const v3ctor& v) double distance_to_plane(const v3ctor& a, const v3ctor& b, const v3ctor& c, const v3ctor & x) { v3ctor normal = ((b-a)|(c-a)).normalize(); - return(abs(normal*(x-a))); + return(fabs(normal*(x-a))); } /*!