diff --git a/libs/xassets/xphysgeominfo.cpp b/libs/xassets/xphysgeominfo.cpp new file mode 100644 index 0000000..dc23ab1 --- /dev/null +++ b/libs/xassets/xphysgeominfo.cpp @@ -0,0 +1,31 @@ +#include "xphysgeominfo.h" + +XPhysGeomInfo::XPhysGeomInfo() + : XAsset() + , mBrush(new XBrushWrapper()) + , mType(0) + , mOrientation() + , mOffset() + , mHalfLengths() +{ + +} + +XPhysGeomInfo::~XPhysGeomInfo() +{ + +} + +void XPhysGeomInfo::ParseData(QDataStream *aStream) +{ + +} + +void XPhysGeomInfo::Clear() +{ + mBrush = new XBrushWrapper(); + mType = 0; + mOrientation = QVector(); + mOffset = QVector3D(); + mHalfLengths = QVector3D(); +} diff --git a/libs/xassets/xphysgeominfo.h b/libs/xassets/xphysgeominfo.h new file mode 100644 index 0000000..1d583ac --- /dev/null +++ b/libs/xassets/xphysgeominfo.h @@ -0,0 +1,24 @@ +#ifndef XPHYSGEOMINFO_H +#define XPHYSGEOMINFO_H + +#include "xasset.h" +#include "xbrushwrapper.h" + +class XPhysGeomInfo : public XAsset +{ +public: + XPhysGeomInfo(); + ~XPhysGeomInfo(); + + virtual void ParseData(QDataStream* aStream) override; + virtual void Clear() override; + +private: + XBrushWrapper *mBrush; + int mType; + QVector mOrientation; + QVector3D mOffset; + QVector3D mHalfLengths; +}; + +#endif // XPHYSGEOMINFO_H