STL bugfix. LWO2 next WIP version, deactivated for the moment (as I'm away for a week. LWOB (LightWave 1-4) remains activated).

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@113 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2008-08-15 23:23:28 +00:00
parent fa8edfe207
commit b2a1268711
6 changed files with 782 additions and 501 deletions

View File

@@ -52,6 +52,7 @@ Original copyright notice: "Ernie Wright 17 Sep 00"
#include "IFF.h"
#include <vector>
#include <list>
#include "../include/aiMesh.h"
namespace Assimp {
@@ -334,6 +335,39 @@ struct Surface
break; \
} \
typedef std::vector<aiVector3D> PointList;
typedef std::vector<LWO::Face> FaceList;
typedef std::vector<LWO::Surface> SurfaceList;
typedef std::vector<std::string> TagList;
typedef std::vector<unsigned int> TagMappingTable;
// ---------------------------------------------------------------------------
/** \brief Represents a layer in the file
*/
struct Layer
{
Layer()
: mParent (0xffff)
{}
/** Temporary point list from the file */
PointList mTempPoints;
/** Temporary face list from the file*/
FaceList mFaces;
/** Parent index */
uint16_t mParent;
/** Name of the layer */
std::string mName;
};
typedef std::list<LWO::Layer> LayerList;
}}