minor type changes to compile with gcc
This commit is contained in:
parent
6bda668af8
commit
1185e2ab96
|
@ -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};
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue