1
0

feat: add new rule in BMapInspector

This commit is contained in:
2026-02-04 21:32:34 +08:00
parent 7b40c64470
commit 2240f55964
6 changed files with 95 additions and 7 deletions

View File

@@ -30,11 +30,19 @@ namespace BMapInspector::Rule::Shared {
#pragma region Check Functions
/**
* @brief Check whether given 2 float point values are equal with given tolerance.
* @param lhs
* @param rhs
* @param tolerance
* @return
*/
bool FPEqual(L::CKFLOAT lhs, L::CKFLOAT rhs, L::CKFLOAT tolerance);
/**
* @brief
* @param[in] ctx Can not be nullptr.
* @param[in] name Can not be nullptr.
* @return
* @return Found pointer to CKGroup, otherwise nullptr.
*/
O::CKGroup* FetchGroup(C::CKContext* ctx, L::CKSTRING name);
std::vector<O::CK3dObject*> FetchPhysicalized3dObjects(C::CKContext* ctx);