From 1185e2ab96a96c257943edb77262c3e7cf061f7a Mon Sep 17 00:00:00 2001 From: ganovelli Date: Tue, 19 Aug 2008 11:03:39 +0000 Subject: [PATCH] minor type changes to compile with gcc --- vcg/complex/trimesh/inertia.h | 1 - vcg/complex/trimesh/subset.h | 2 +- vcg/space/intersection3.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vcg/complex/trimesh/inertia.h b/vcg/complex/trimesh/inertia.h index e7cf41b4..14d08d72 100644 --- a/vcg/complex/trimesh/inertia.h +++ b/vcg/complex/trimesh/inertia.h @@ -77,7 +77,6 @@ class Inertia typedef typename MeshType::FaceIterator FaceIterator; typedef typename MeshType::FaceContainer FaceContainer; typedef typename MeshType::CoordType CoordType; - typedef typename MeshType::ScalarType ScalarType; private : enum {X=0,Y=1,Z=2}; diff --git a/vcg/complex/trimesh/subset.h b/vcg/complex/trimesh/subset.h index 223f4fe3..e4a46f56 100644 --- a/vcg/complex/trimesh/subset.h +++ b/vcg/complex/trimesh/subset.h @@ -81,7 +81,7 @@ struct InsertedV FacePointer f; int z; - const bool operator <(const InsertedV & o) + const bool operator < (const InsertedV & o) const { return (v Point3t; - typedef typename TRIANGLETYPE Triangle3t; + typedef TRIANGLETYPE Triangle3t; bool penetration_detected = false;