#ifndef XCBRUSH
#define XCBRUSH

#include "xasset.h"
#include "xcbrushside.h"

#include <QVector3D>

class XCBrush : public XAsset
{
public:
    XCBrush();
    ~XCBrush();

    virtual void ParseData(QDataStream* aStream) override;
    virtual void Clear() override;

private:
    QVector3D mMins;
    int mContents;
    QVector3D mMaxs;
    uint mNumsides;
    qint32 mSidesPtr;
    QVector<XCBrushSide> mSides;
    QVector<QVector3D> mAxialMaterialNum;
    qint32 mBaseAdjacentSidePtr;
    quint8 mBaseAdjacentSide;
    QVector<QVector3D> mFirstAdjacentSideOffsets;
    QVector<QVector3D> mEdgeCount;
};

#endif // XCBRUSH
