vrml const correctness
This commit is contained in:
parent
3d0e74e472
commit
abcde4bbed
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue