| 1 | #pragma once |
|---|---|
| 2 | |
| 3 | #include <math/seadVector.h> |
| 4 | |
| 5 | class CollisionShapeInfoBase; |
| 6 | class CollisionShapeInfoArrow; |
| 7 | class CollisionShapeInfoDisk; |
| 8 | class CollisionShapeInfoSphere; |
| 9 | |
| 10 | namespace CollisionShapeFunction { |
| 11 | |
| 12 | bool isShapeName(const CollisionShapeInfoBase* shape, const char* name); |
| 13 | |
| 14 | bool isShapeArrow(const CollisionShapeInfoBase* shape); |
| 15 | bool isShapeSphere(const CollisionShapeInfoBase* shape); |
| 16 | bool isShapeDisk(const CollisionShapeInfoBase* shape); |
| 17 | |
| 18 | CollisionShapeInfoArrow* getShapeInfoArrow(CollisionShapeInfoBase* shape); |
| 19 | CollisionShapeInfoSphere* getShapeInfoSphere(CollisionShapeInfoBase* shape); |
| 20 | CollisionShapeInfoDisk* getShapeInfoDisk(CollisionShapeInfoBase* shape); |
| 21 | const CollisionShapeInfoArrow* getShapeInfoArrow(const CollisionShapeInfoBase* shape); |
| 22 | const CollisionShapeInfoSphere* getShapeInfoSphere(const CollisionShapeInfoBase* shape); |
| 23 | const CollisionShapeInfoDisk* getShapeInfoDisk(const CollisionShapeInfoBase* shape); |
| 24 | |
| 25 | void updateShapeOffset(CollisionShapeInfoBase* shape, const sead::Vector3f& offset); |
| 26 | |
| 27 | } // namespace CollisionShapeFunction |
| 28 |