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

Method getWorldAABB

src/engine/PhysicsWorld.cpp:226–233  ·  view source on GitHub ↗

Return the current world-space AABB of given collider * @param collider Pointer to a collider * @return The AAABB of the collider in world-space */

Source from the content-addressed store, hash-verified

224 * @return The AAABB of the collider in world-space
225 */
226AABB PhysicsWorld::getWorldAABB(const Collider* collider) const {
227
228 if (collider->getBroadPhaseId() == -1) {
229 return AABB();
230 }
231
232 return mCollisionDetection.getWorldAABB(collider);
233}
234
235// Update the physics simulation
236/**

Callers

nothing calls this directly

Calls 2

AABBClass · 0.50
getBroadPhaseIdMethod · 0.45

Tested by

no test coverage detected