blob: c8826f362ff70bc139db76b892e997762a10736a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "morphmesh.h"
morphmesh::morphmesh()
{
//ctor
}
morphmesh::~morphmesh()
{
//dtor
}
bool morphmesh::loadmesh(string filename){
bool loaded=false;
ofxXmlSettings XML;
if( !XML.loadFile(filename) ){
printf("unable to load %s check data/ folder\n",filename.c_str());
}else{
if(XML.pushTag("MeshList")) {
int verts=ofToInt(XML.getAttribute("mesh","VertexCount","none",0));
int numMeshes=XML.getNumTags("Mesh");
}
}
return loaded;
}
|