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

Function post_move

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

Source from the content-addressed store, hash-verified

1159 namespace anim_coll
1160 {
1161 void post_move(xEnt& ent)
1162 {
1163 xMat4x3& mat = *(xMat4x3*)ent.model->Mat;
1164 xEnt::anim_coll_data& ac = *ent.anim_coll;
1165
1166 ac.old_mat = ent.frame->mat;
1167
1168 xMat4x3Mul(&mat, &ac.new_mat, &ac.old_mat);
1169
1170 ent.frame->mat = mat;
1171 }
1172
1173 void pre_move(xEnt& ent)
1174 {

Callers 1

xEntMoveFunction · 0.85

Calls 1

xMat4x3MulFunction · 0.85

Tested by

no test coverage detected