diff --git a/libs/xassets/xphysgeomlist.cpp b/libs/xassets/xphysgeomlist.cpp new file mode 100644 index 0000000..c9c06ec --- /dev/null +++ b/libs/xassets/xphysgeomlist.cpp @@ -0,0 +1,27 @@ +#include "xphysgeomlist.h" + +XPhysGeomList::XPhysGeomList() + : XAsset() + , mCount(0) + , mGeoms() + , mMass() +{ + +} + +XPhysGeomList::~XPhysGeomList() +{ + +} + +void XPhysGeomList::ParseData(QDataStream *aStream) +{ + +} + +void XPhysGeomList::Clear() +{ + mCount = 0; + mGeoms.clear(); + mMass.Clear(); +} diff --git a/libs/xassets/xphysgeomlist.h b/libs/xassets/xphysgeomlist.h new file mode 100644 index 0000000..7f857e5 --- /dev/null +++ b/libs/xassets/xphysgeomlist.h @@ -0,0 +1,23 @@ +#ifndef XPHYSGEOMLIST_H +#define XPHYSGEOMLIST_H + +#include "xasset.h" +#include "xphysmass.h" +#include "xphysgeominfo.h" + +class XPhysGeomList : public XAsset +{ +public: + XPhysGeomList(); + ~XPhysGeomList(); + + virtual void ParseData(QDataStream* aStream) override; + virtual void Clear() override; + +private: + unsigned int mCount; + QVector mGeoms; + XPhysMass mMass; +}; + +#endif // XPHYSGEOMLIST_H