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

Method getLocalBounds

src/collision/shapes/ConvexMeshShape.cpp:208–212  ·  view source on GitHub ↗

Return the local bounds of the shape in x, y and z directions * @return The AABB with the min/max bounds */

Source from the content-addressed store, hash-verified

206 * @return The AABB with the min/max bounds
207 */
208AABB ConvexMeshShape::getLocalBounds() const {
209 AABB aabb = mConvexMesh->getBounds();
210 aabb.applyScale(mScale);
211 return aabb;
212}
213
214// Return the string representation of the shape
215std::string ConvexMeshShape::to_string() const {

Callers

nothing calls this directly

Calls 1

applyScaleMethod · 0.80

Tested by

no test coverage detected