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

Function SB1Dummy_UpdateFunc

src/SB/Game/zNPCTypeBossSB1.cpp:155–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153}
154
155static void SB1Dummy_UpdateFunc(xEnt* ent, xScene* param_2, F32 param_3)
156{
157 if (ent->frame != NULL)
158 {
159 xVec3Copy(&ent->frame->oldvel, &ent->frame->vel);
160 ent->frame->oldmat = ent->frame->mat;
161 xRotCopy(&ent->frame->oldrot, &ent->frame->rot);
162 xMat4x3Copy(&ent->frame->mat, xModelGetFrame(ent->model));
163 ent->frame->mode = 0;
164 }
165}
166
167static void SB1Dummy_BoundFunc(xEnt* ent, xVec3* param_2)
168{

Callers

nothing calls this directly

Calls 4

xVec3CopyFunction · 0.85
xRotCopyFunction · 0.85
xMat4x3CopyFunction · 0.85
xModelGetFrameFunction · 0.85

Tested by

no test coverage detected