vrml const correctness

This commit is contained in:
alemuntoni 2021-03-18 18:54:15 +01:00
parent 3d0e74e472
commit abcde4bbed
1 changed files with 5 additions and 5 deletions

View File

@ -57,15 +57,15 @@ namespace vcg {
class ExporterWRL
{
public:
typedef typename SaveMeshType::VertexPointer VertexPointer;
typedef typename SaveMeshType::ConstVertexPointer VertexPointer;
typedef typename SaveMeshType::ScalarType ScalarType;
typedef typename SaveMeshType::VertexType VertexType;
typedef typename SaveMeshType::FaceType FaceType;
typedef typename SaveMeshType::VertexIterator VertexIterator;
typedef typename SaveMeshType::FaceIterator FaceIterator;
typedef typename SaveMeshType::ConstVertexIterator VertexIterator;
typedef typename SaveMeshType::ConstFaceIterator FaceIterator;
///Standard call for saving a mesh
static int Save(SaveMeshType &m, const char * filename, const int &mask, CallBackPos * /*cb=0*/)
static int Save(const SaveMeshType &m, const char * filename, const int &mask, CallBackPos * /*cb=0*/)
{
FILE *fp;
fp = fopen(filename,"wb");
@ -321,4 +321,4 @@ namespace vcg {
} // end Namespace tri
} // end Namespace vcg
#endif
#endif