mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-05-17 15:11:21 +00:00
Retro seemingly avoided using the Dolphin typedefs in most places, opting to use int/uint instead. This likely means they didn't use u8/s8/u16/s16/etc either. Former-commit-id: 133326ae406a0ebc76f56f8bcb489fda280be2be
28 lines
725 B
C++
28 lines
725 B
C++
#ifndef _CCOLLIDABLEAABOX
|
|
#define _CCOLLIDABLEAABOX
|
|
|
|
#include "types.h"
|
|
|
|
#include "Collision/CCollisionPrimitive.hpp"
|
|
|
|
class CCollidableAABox : public CCollisionPrimitive {
|
|
public:
|
|
CCollidableAABox();
|
|
CCollidableAABox(const CAABox& box, const CMaterialList& matList)
|
|
: CCollisionPrimitive(matList), x10_aabb(box) {}
|
|
// TODO
|
|
|
|
uint 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)
|
|
|
|
#endif // _CCOLLIDABLEAABOX
|