diff --git a/vcg/space/deprecated_point3.h b/vcg/space/deprecated_point3.h index c312b8fb..6367ac65 100644 --- a/vcg/space/deprecated_point3.h +++ b/vcg/space/deprecated_point3.h @@ -95,6 +95,7 @@ Edited doxygen comments #define __VCGLIB_POINT3 #include +#include #include namespace vcg { @@ -556,7 +557,7 @@ inline Point3 Abs(const Point3 & p) { // probably a more uniform naming should be defined... template inline Point3 LowClampToZero(const Point3 & p) { - return (Point3(math::Max(p[0], (SCALARTYPE)0), math::Max(p[1], (SCALARTYPE)0), math::Max(p[2], (SCALARTYPE)0))); + return (Point3(std::max(p[0], (SCALARTYPE)0), std::max(p[1], (SCALARTYPE)0), std::max(p[2], (SCALARTYPE)0))); } typedef Point3 Point3s;