Updated libs/xassets/xgfxaabbtree.h
This commit is contained in:
parent
c7ed43cf8d
commit
e90788e232
32
libs/xassets/xgfxaabbtree.h
Normal file
32
libs/xassets/xgfxaabbtree.h
Normal file
@ -0,0 +1,32 @@
|
||||
#ifndef XGFXAABTREE_H
|
||||
#define XGFXAABTREE_H
|
||||
|
||||
#include "xasset.h"
|
||||
|
||||
#include <QVector>
|
||||
#include <QVector3D>
|
||||
|
||||
class XGfxAabbTree : public XAsset
|
||||
{
|
||||
public:
|
||||
XGfxAabbTree();
|
||||
~XGfxAabbTree();
|
||||
|
||||
virtual void ParseData(QDataStream* aStream) override;
|
||||
virtual void Clear() override;
|
||||
|
||||
private:
|
||||
QVector3D mMins;
|
||||
QVector3D mMaxs;
|
||||
quint16 mChildCount;
|
||||
quint16 mSurfaceCount;
|
||||
quint16 mStartSurfIndex;
|
||||
|
||||
quint16 mModelIndexCount;
|
||||
qint32 mModelIndexesPtr;
|
||||
QVector<quint16> mModelIndexes;
|
||||
|
||||
int mChildrenOffset;
|
||||
};
|
||||
|
||||
#endif // XGFXAABTREE_H
|
||||
Loading…
x
Reference in New Issue
Block a user