MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / CheckObjectSize

Function CheckObjectSize

ogsr_engine/xrGame/PHSkeleton.cpp:23–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21u32 CPHSkeleton::existence_time = 5000;
22
23bool IC CheckObjectSize(IKinematics* K)
24{
25 u16 bcount = K->LL_BoneCount();
26 for (u16 i = 0; i < bcount; ++i)
27 {
28 if (K->LL_GetBoneVisible(i))
29 {
30 Fobb obb = K->LL_GetBox(i);
31 if (check_obb_sise(obb))
32 return true;
33 }
34 }
35 return false;
36}
37
38CPHSkeleton::CPHSkeleton() { Init(); }
39

Callers 1

UnsplitSingleMethod · 0.85

Calls 3

check_obb_siseFunction · 0.85
LL_BoneCountMethod · 0.80
LL_GetBoneVisibleMethod · 0.80

Tested by

no test coverage detected