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 56 additions and 0 deletions
Showing only changes of commit 3bed978b89 - Show all commits

View File

@ -0,0 +1,31 @@
#include "xmodelcollsurf.h"
XModelCollSurf::XModelCollSurf()
: XAsset()
, mMins()
, mMaxs()
, mBoneIdx(0)
, mContents(0)
, mSurfFlags(0)
{
}
XModelCollSurf::~XModelCollSurf()
{
}
void XModelCollSurf::ParseData(QDataStream *aStream)
{
}
void XModelCollSurf::Clear()
{
mMins = QVector3D();
mMaxs = QVector3D();
mBoneIdx = 0;
mContents = 0;
mSurfFlags = 0;
}

View File

@ -0,0 +1,25 @@
#ifndef XMODELCOLLSURF_H
#define XMODELCOLLSURF_H
#include "xasset.h"
#include <QVector3D>
class XModelCollSurf : public XAsset
{
public:
XModelCollSurf();
~XModelCollSurf();
virtual void ParseData(QDataStream* aStream) override;
virtual void Clear() override;
private:
QVector3D mMins;
QVector3D mMaxs;
int mBoneIdx;
int mContents;
int mSurfFlags;
};
#endif // XMODELCOLLSURF_H