diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-03-28 00:42:08 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-03-28 00:42:08 +0100 |
| commit | a47b39541a7f60dfdda921c9598abe947e1e6ad9 (patch) | |
| tree | 34f85aa65d56793d2c42a83df5b025be7a142669 /morpher/src/morphmesh.cpp | |
| parent | 3badbcdf8d8a0005543521849694fa481dfce628 (diff) | |
rayhit still iffy. starting morpher
Diffstat (limited to 'morpher/src/morphmesh.cpp')
| -rw-r--r-- | morpher/src/morphmesh.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/morpher/src/morphmesh.cpp b/morpher/src/morphmesh.cpp new file mode 100644 index 0000000..c8826f3 --- /dev/null +++ b/morpher/src/morphmesh.cpp @@ -0,0 +1,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; +}
\ No newline at end of file |
