MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / getWorldPoint

Method getWorldPoint

src/body/Body.cpp:434–436  ·  view source on GitHub ↗

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 */

Source from the content-addressed store, hash-verified

432* @return The point in world-space coordinates
433*/
434Vector3 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/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected