feature/test #9
31
libs/xassets/xmodelcollsurf.cpp
Normal file
31
libs/xassets/xmodelcollsurf.cpp
Normal 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;
|
||||||
|
}
|
||||||
25
libs/xassets/xmodelcollsurf.h
Normal file
25
libs/xassets/xmodelcollsurf.h
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user