missing inline and added some constnt
This commit is contained in:
parent
04f8825547
commit
d0ffe2a48f
|
@ -210,10 +210,10 @@ public:
|
||||||
template<class BoxType>
|
template<class BoxType>
|
||||||
void GetBBox( BoxType & bb ) const
|
void GetBBox( BoxType & bb ) const
|
||||||
{
|
{
|
||||||
bb.Set(this->P(0));
|
bb.Set(this->cP(0));
|
||||||
bb.Add(this->P(1));
|
bb.Add(this->cP(1));
|
||||||
bb.Add(this->P(2));
|
bb.Add(this->cP(2));
|
||||||
bb.Add(this->P(3));
|
bb.Add(this->cP(3));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -392,6 +392,7 @@ class ImporterMSH
|
||||||
std::string buf;
|
std::string buf;
|
||||||
while (buf != tagEnd && !fin.eof())
|
while (buf != tagEnd && !fin.eof())
|
||||||
fin >> buf;
|
fin >> buf;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int parseMshMesh(MeshType &m, std::string &filename, MshInfo<MeshType> & info)
|
static int parseMshMesh(MeshType &m, std::string &filename, MshInfo<MeshType> & info)
|
||||||
|
|
|
@ -28,8 +28,8 @@ Revision 1.1 2004/06/03 13:16:32 ganovelli
|
||||||
created
|
created
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
#ifndef __VCGLIB_TETRAIMPORTERPLY
|
#ifndef __VCGLIB_TETRAIMPORTER_PLY
|
||||||
#define __VCGLIB_TETRAIMPORTERPLY
|
#define __VCGLIB_TETRAIMPORTER_PLY
|
||||||
|
|
||||||
#include<wrap/callback.h>
|
#include<wrap/callback.h>
|
||||||
#include<wrap/ply/plylib.h>
|
#include<wrap/ply/plylib.h>
|
||||||
|
@ -43,11 +43,11 @@ namespace io {
|
||||||
template <class TYPE>
|
template <class TYPE>
|
||||||
int PlyType () { return 0;}
|
int PlyType () { return 0;}
|
||||||
|
|
||||||
template <> int PlyType <float >() { return ply::T_FLOAT; }
|
template <> inline int PlyType <float >() { return ply::T_FLOAT; }
|
||||||
template <> int PlyType <double>() { return ply::T_DOUBLE; }
|
template <> inline int PlyType <double>() { return ply::T_DOUBLE; }
|
||||||
template <> int PlyType <int >() { return ply::T_INT; }
|
template <> inline int PlyType <int >() { return ply::T_INT; }
|
||||||
template <> int PlyType <short >() { return ply::T_SHORT; }
|
template <> inline int PlyType <short >() { return ply::T_SHORT; }
|
||||||
template <> int PlyType <unsigned char >() { return ply::T_UCHAR; }
|
template <> inline int PlyType <unsigned char >() { return ply::T_UCHAR; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This class encapsulate a filter for opening ply meshes.
|
This class encapsulate a filter for opening ply meshes.
|
||||||
|
|
Loading…
Reference in New Issue