Small changes in the long long way to making meshlab and the vcglib really float/double independent

This commit is contained in:
Paolo Cignoni 2014-06-18 10:55:09 +00:00
parent 0970bd18ca
commit e1b38767ee
1 changed files with 3 additions and 2 deletions

View File

@ -38,6 +38,7 @@ This class encapsulate a filter for save dxf meshes.
*/
class ExporterDXF
{
typedef typename SaveMeshType::CoordType CoordType;
public:
///Standard call for saving a mesh
static int Save(SaveMeshType &m, const char * filename)
@ -113,8 +114,8 @@ public:
typename SaveMeshType::EdgeIterator ei;
for(ei=mp.edge.begin(); ei!=mp.edge.end();++ei)
{
Point3f p1 = (*ei).V(0)->P();
Point3f p2 = (*ei).V(1)->P();
CoordType p1 = (*ei).V(0)->P();
CoordType p2 = (*ei).V(1)->P();
fprintf(o,"0\n");
fprintf(o,"LINE\n");