diff --git a/libs/xassets/xgfxcell.h b/libs/xassets/xgfxcell.h new file mode 100644 index 0000000..8d1cefc --- /dev/null +++ b/libs/xassets/xgfxcell.h @@ -0,0 +1,37 @@ +#ifndef XGFXCELL_H +#define XGFXCELL_H + +#include "xasset.h" +#include "xgfxportal.h" +#include "xgfxaabbtree.h" + +#include +#include + +class XGfxCell : public XAsset +{ +public: + XGfxCell(); + ~XGfxCell(); + + virtual void ParseData(QDataStream* aStream) override; + virtual void Clear() override; + +private: + QVector3D mMins; + QVector3D mMaxs; + + int mAabbTreeCount; + QVector mAabbTree; + + int mPortalCount; + QVector mPortals; + + int mCullGroupCount; + QVector mCullGroups; + + quint8 mReflectionProbeCount; + QVector mReflectionProbes; +}; + +#endif // XGFXCELL_H