TriangleMesh::slice() now accepts a vector of floats instead of doubles for consistency with mesh coordinates

This commit is contained in:
Alessandro Ranellucci 2014-01-12 23:56:07 +01:00
parent 69f1f65a8b
commit 3637ca39df
4 changed files with 21 additions and 13 deletions

View file

@ -23,6 +23,7 @@ extern "C" {
#define PI 3.141592653589793238
#define scale_(val) (val / SCALING_FACTOR)
#define unscale(val) (val * SCALING_FACTOR)
#define SCALED_EPSILON scale_(EPSILON)
typedef long coord_t;
typedef double coordf_t;