minor type changes to compile with gcc

This commit is contained in:
ganovelli 2008-08-19 11:03:39 +00:00
parent 6bda668af8
commit 1185e2ab96
3 changed files with 2 additions and 3 deletions

View File

@ -77,7 +77,6 @@ class Inertia
typedef typename MeshType::FaceIterator FaceIterator; typedef typename MeshType::FaceIterator FaceIterator;
typedef typename MeshType::FaceContainer FaceContainer; typedef typename MeshType::FaceContainer FaceContainer;
typedef typename MeshType::CoordType CoordType; typedef typename MeshType::CoordType CoordType;
typedef typename MeshType::ScalarType ScalarType;
private : private :
enum {X=0,Y=1,Z=2}; enum {X=0,Y=1,Z=2};

View File

@ -81,7 +81,7 @@ struct InsertedV
FacePointer f; FacePointer f;
int z; int z;
const bool operator <(const InsertedV & o) const bool operator < (const InsertedV & o) const
{ {
return (v<o.v); return (v<o.v);
} }

View File

@ -257,7 +257,7 @@ namespace vcg {
{ {
typedef SCALAR_TYPE ScalarType; typedef SCALAR_TYPE ScalarType;
typedef typename vcg::Point3< ScalarType > Point3t; typedef typename vcg::Point3< ScalarType > Point3t;
typedef typename TRIANGLETYPE Triangle3t; typedef TRIANGLETYPE Triangle3t;
bool penetration_detected = false; bool penetration_detected = false;