35 KCLTypeMask *maskOut);
38 KCLTypeMask *maskOut);
41 KCLTypeMask *maskOut);
44 KCLTypeMask *maskOut);
46 [[nodiscard]]
bool checkSpherePartial(f32 scale, f32 radius,
KColData *data,
49 [[nodiscard]]
bool checkSpherePartialPush(f32 scale, f32 radius,
KColData *data,
52 [[nodiscard]]
bool checkSphereFull(f32 scalar, f32 radius,
KColData *data,
55 [[nodiscard]]
bool checkSphereFullPush(f32 scalar, f32 radius,
KColData *data,
61 KCLTypeMask *maskOut);
62 [[nodiscard]]
bool checkPointCachedPartialPush(f32 scale,
KColData *data,
67 KCLTypeMask *maskOut);
70 KCLTypeMask *maskOut);
72 [[nodiscard]]
bool checkSphereCachedPartial(f32 scale, f32 radius,
KColData *data,
75 [[nodiscard]]
bool checkSphereCachedPartialPush(f32 scale, f32 radius,
KColData *data,
78 [[nodiscard]]
bool checkSphereCachedFull(f32 scale, f32 radius,
KColData *data,
81 [[nodiscard]]
bool checkSphereCachedFullPush(f32 scale, f32 radius,
KColData *data,
87 m_noBounceWallInfo = info;
90 void clearNoBounceWallInfo() {
91 m_noBounceWallInfo =
nullptr;
100 [[nodiscard]] NoBounceWallColInfo *noBounceWallInfo()
const {
101 return m_noBounceWallInfo;
105 static void *
LoadFile(
const char *filename);
107 static CourseColMgr *CreateInstance();
108 static void DestroyInstance();
110 [[nodiscard]]
static CourseColMgr *Instance() {
116 ~CourseColMgr()
override;
118 [[nodiscard]]
bool doCheckWithPartialInfo(KColData *data, CollisionCheckFunc collisionCheckFunc,
119 CollisionInfoPartial *info, KCLTypeMask *typeMask);
120 [[nodiscard]]
bool doCheckWithPartialInfoPush(KColData *data,
121 CollisionCheckFunc collisionCheckFunc, CollisionInfoPartial *info,
122 KCLTypeMask *typeMask);
123 [[nodiscard]]
bool doCheckWithFullInfo(KColData *data, CollisionCheckFunc collisionCheckFunc,
124 CollisionInfo *colInfo, KCLTypeMask *flagsOut);
125 [[nodiscard]]
bool doCheckWithFullInfoPush(KColData *data,
126 CollisionCheckFunc collisionCheckFunc, CollisionInfo *colInfo, KCLTypeMask *flagsOut);
127 [[nodiscard]]
bool doCheckMaskOnly(KColData *data, CollisionCheckFunc collisionCheckFunc,
128 KCLTypeMask *maskOut);
129 [[nodiscard]]
bool doCheckMaskOnlyPush(KColData *data, CollisionCheckFunc collisionCheckFunc,
130 KCLTypeMask *maskOut);
134 NoBounceWallColInfo *m_noBounceWallInfo;
137 static CourseColMgr *s_instance;