2022-09-18 05:55:13 +00:00
|
|
|
#ifndef _CCOLLIDABLEAABOX_HPP
|
|
|
|
#define _CCOLLIDABLEAABOX_HPP
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "Collision/CCollisionPrimitive.hpp"
|
|
|
|
|
|
|
|
class CCollidableAABox : public CCollisionPrimitive {
|
|
|
|
public:
|
|
|
|
// TODO
|
|
|
|
|
|
|
|
u32 GetTableIndex() const override;
|
|
|
|
CAABox CalculateAABox(const CTransform4f&) const override;
|
|
|
|
CAABox CalculateLocalAABox() const override;
|
|
|
|
FourCC GetPrimType() const override;
|
|
|
|
~CCollidableAABox() override;
|
|
|
|
CRayCastResult CastRayInternal(const CInternalRayCastStructure&) const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
CAABox x10_aabb;
|
|
|
|
};
|
|
|
|
CHECK_SIZEOF(CCollidableAABox, 0x28)
|
|
|
|
|
2022-09-18 06:05:46 +00:00
|
|
|
#endif
|