From 544d4e898d7e2d75914ac9e350c60a3bc1278b4c Mon Sep 17 00:00:00 2001 From: ponchio Date: Sun, 4 Jul 2004 15:25:33 +0000 Subject: [PATCH] Backup (work in progress) --- apps/nexus/crude.h | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/apps/nexus/crude.h b/apps/nexus/crude.h index e494a7d9..8119459a 100644 --- a/apps/nexus/crude.h +++ b/apps/nexus/crude.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.2 2004/06/25 16:47:13 ponchio +Various debug + Revision 1.1 2004/06/24 14:32:45 ponchio Moved from wrap/nexus @@ -58,6 +61,9 @@ public: unsigned int *ptr() { return v; } }; + VFile vert; + VFile face; + Crude(): fp(NULL), nvert(0), nface(0) {} ~Crude(); @@ -80,8 +86,24 @@ public: vcg::Box3f &GetBox(); - VFile vert; - VFile face; + template void Export(MESH &mesh) { + MESH::VertexType v; + v.ClearFlags(); + for(unsigned int i = 0; i <