| 10 | physics_shell_animated::physics_shell_animated(CPhysicsShellHolder* O, bool _update_velocity) : update_velocity(_update_velocity) { create_shell(O); } |
| 11 | |
| 12 | bool physics_shell_animated::update(const Fmatrix& xrorm) |
| 13 | { |
| 14 | VERIFY(physics_shell); |
| 15 | |
| 16 | if (update_velocity) |
| 17 | physics_shell->AnimToVelocityState(Device.fTimeDelta, default_l_limit * 10, default_w_limit * 10); |
| 18 | |
| 19 | physics_shell->mXFORM.set(xrorm); |
| 20 | physics_shell->PKinematics()->CalculateBones(); |
| 21 | physics_shell->ToAnimBonesPositions(/*mh_unspecified*/); |
| 22 | return true; |
| 23 | } |
| 24 | |
| 25 | physics_shell_animated::~physics_shell_animated() |
| 26 | { /* |
nothing calls this directly
no test coverage detected