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

Function refresh

src/SB/Core/x/xEnt.cpp:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 void refresh(xEnt& ent)
98 {
99 xEnt::anim_coll_data& ac = *ent.anim_coll;
100 xMat4x3& bone_mat = *(xMat4x3*)(ent.model->Mat + 1);
101
102 xMat4x3Mul((xMat4x3*)ent.model->Mat, &bone_mat, &ac.old_mat);
103
104 ac.new_mat = bone_mat;
105 bone_mat = g_I3;
106 }
107
108 void pre_move(xEnt& ent);
109 void post_move(xEnt& ent);

Callers 1

xEntEndUpdateFunction · 0.70

Calls 1

xMat4x3MulFunction · 0.85

Tested by

no test coverage detected