Return the world-space coordinates of a point given the local-space coordinates of the body * @param localPoint A point in the local-space coordinates of the body * @return The point in world-space coordinates */
| 432 | * @return The point in world-space coordinates |
| 433 | */ |
| 434 | Vector3 Body::getWorldPoint(const Vector3& localPoint) const { |
| 435 | return mWorld.mTransformComponents.getTransform(mEntity) * localPoint; |
| 436 | } |
| 437 | |
| 438 | // Return the world-space vector of a vector given in local-space coordinates of the body |
| 439 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected