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

Function iBoxForModel

src/SB/Core/gc/iCollide.cpp:1075–1080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1073}
1074
1075void iBoxForModel(xBox* o, const xModelInstance* m)
1076{
1077 iBoxForModelLocal(o, m);
1078 xVec3AddTo(&o->upper, (xVec3*)&m->Mat->pos);
1079 xVec3AddTo(&o->lower, (xVec3*)&m->Mat->pos);
1080}
1081
1082void iBoxForModelLocal(xBox* o, const xModelInstance* m)
1083{

Callers 4

InitMethod · 0.85
InitBoundsMethod · 0.85
InitMethod · 0.85
xEntSetupFunction · 0.85

Calls 2

xVec3AddToFunction · 0.85
iBoxForModelLocalFunction · 0.70

Tested by

no test coverage detected