XPlor/libs/xassets/xcollisionaabbtreeindex.h

28 lines
591 B
C
Raw Normal View History

2025-08-17 13:14:17 -04:00
#ifndef XCOLLISIONAABBTREEINDEX_H
#define XCOLLISIONAABBTREEINDEX_H
#include "xasset.h"
class XCollisionAabbTreeIndex : public XAsset
{
public:
explicit XCollisionAabbTreeIndex();
2025-09-05 18:35:17 -04:00
~XCollisionAabbTreeIndex();
2025-08-17 13:14:17 -04:00
void ParseData(QDataStream *aStream) override;
// Option 1: First child index
int GetFirstChildIndex() const;
void SetFirstChildIndex(int index);
// Option 2: Partition index
int GetPartitionIndex() const;
void SetPartitionIndex(int index);
private:
2025-09-05 18:35:17 -04:00
int mFirstChildIndex;
int mPartitionIndex;
2025-08-17 13:14:17 -04:00
};
#endif // XCOLLISIONAABBTREEINDEX_H