From af3f28752ad06866b897d3a3173fc8a326f7f982 Mon Sep 17 00:00:00 2001 From: RedLine AI Agent Date: Fri, 5 Sep 2025 21:32:48 +0000 Subject: [PATCH] Updated libs/xassets/xgfxcell.h --- libs/xassets/xgfxcell.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 libs/xassets/xgfxcell.h 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