| 15 | } |
| 16 | |
| 17 | Math::float3 Physics::MotionState::getPosition() |
| 18 | { |
| 19 | btTransform trans; |
| 20 | getWorldTransform(trans); |
| 21 | btVector3 origin = trans.getOrigin(); |
| 22 | return Math::float3(origin.x(), origin.y(), origin.z()); |
| 23 | } |
| 24 | |
| 25 | Math::float4 Physics::MotionState::getRotationQuat() |
| 26 | { |
nothing calls this directly
no outgoing calls
no test coverage detected