Skip to content

Commit f82f357

Browse files
Fixed compilation error in v3ctor class
1 parent d9acb6b commit f82f357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v3ctor.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ std::ostream& operator<<(std::ostream& o, const v3ctor& v)
299299
double distance_to_plane(const v3ctor& a, const v3ctor& b, const v3ctor& c, const v3ctor & x)
300300
{
301301
v3ctor normal = ((b-a)|(c-a)).normalize();
302-
return(abs(normal*(x-a)));
302+
return(fabs(normal*(x-a)));
303303
}
304304

305305
/*!

0 commit comments

Comments
 (0)