MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / iModelNumBones

Function iModelNumBones

src/SB/Core/gc/iModel.cpp:191–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 {
190 if (i != maxIndex)
191 {
192 testRadius = xVec3Dist((xVec3*)&gLastAtomicList[i]->boundingSphere.center,
193 (xVec3*)&gLastAtomicList[maxIndex]->boundingSphere.center);
194 testRadius += gLastAtomicList[i]->boundingSphere.radius; // FPR swap???
195 if (testRadius > maxRadius)
196 {
197 maxRadius = testRadius;
198 }

Callers 7

zEntSimpleObj_InitFunction · 0.85
zEntPickupInitFunction · 0.85
xModelInstanceAllocFunction · 0.85
xcsCalcAnimMatricesFunction · 0.85

Calls 1

GetHierarchyFunction · 0.85

Tested by

no test coverage detected