Replaced fabs by the std methods to fix errors when using norms with double vectors

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@775 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-12-05 17:59:57 +00:00
parent ac94d92a8e
commit 0f9d7dcb41
2 changed files with 13 additions and 10 deletions

View File

@@ -62,6 +62,7 @@
#include <OpenMesh/Core/System/config.h>
#include <iostream>
#include <cmath>
#include <assert.h>
#include <math.h>
#include <string.h>
@@ -300,6 +301,8 @@ typedef VectorT<unsigned int,3> Vec3ui;
typedef VectorT<float,3> Vec3f;
/** 3-double vector */
typedef VectorT<double,3> Vec3d;
/** 3-bool vector */
typedef VectorT<bool,3> Vec3b;
/** 4-byte signed vector */
typedef VectorT<signed char,4> Vec4c;