feature/test #9

Merged
njohnson merged 318 commits from feature/test into main 2025-09-07 12:35:21 -04:00
2 changed files with 55 additions and 0 deletions
Showing only changes of commit c39185e35c - Show all commits

View File

@ -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<QVector3D>();
mOffset = QVector3D();
mHalfLengths = QVector3D();
}

View File

@ -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<QVector3D> mOrientation;
QVector3D mOffset;
QVector3D mHalfLengths;
};
#endif // XPHYSGEOMINFO_H