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

Function NPCC_xBoundBack

src/SB/Game/zNPCSupport.cpp:1094–1104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1092}
1093
1094void NPCC_xBoundBack(xBound* bnd)
1095{
1096 if (bnd->type == XBOUND_TYPE_SPHERE)
1097 {
1098 bnd->box.center.y += 1000000.0f;
1099 }
1100 else if (bnd->type == XBOUND_TYPE_BOX)
1101 {
1102 bnd->box.center.y += 1000000.0f;
1103 }
1104}
1105
1106S32 NPCC_HaveLOSToPos(xVec3* pos_src, xVec3* pos_tgt, F32 dst_max, xBase* tgt, xCollis* colCallers)
1107{

Callers 1

HaveLOSToPosMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected