Return the world-space vector of a vector given in local-space coordinates of the body * @param localVector A vector in the local-space coordinates of the body * @return The vector in world-space coordinates */
| 441 | * @return The vector in world-space coordinates |
| 442 | */ |
| 443 | Vector3 Body::getWorldVector(const Vector3& localVector) const { |
| 444 | return mWorld.mTransformComponents.getTransform(mEntity).getOrientation() * localVector; |
| 445 | } |
| 446 | |
| 447 | // Return the body local-space coordinates of a point given in the world-space coordinates |
| 448 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected