| 1009 | dVectorSet((dReal*)&velocity, dBodyGetLinearVel(m_body)); |
| 1010 | } |
| 1011 | void CPHElement::get_AngularVel(Fvector& velocity) |
| 1012 | { |
| 1013 | if (!isActive() || (!m_flags.test(flAnimated) && !dBodyIsEnabled(m_body))) |
| 1014 | { |
| 1015 | velocity.set(0, 0, 0); |
| 1016 | return; |
| 1017 | } |
| 1018 | dVectorSet((dReal*)&velocity, dBodyGetAngularVel(m_body)); |
| 1019 | } |
| 1020 | |
| 1021 | void CPHElement::set_LinearVel(const Fvector& velocity) |
| 1022 | { |
nothing calls this directly
no test coverage detected