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

Method getVolume

include/reactphysics3d/collision/ConvexMesh.h:189–191  ·  view source on GitHub ↗

Return the volume of the convex mesh * @return The volume of the mesh */

Source from the content-addressed store, hash-verified

187 * @return The volume of the mesh
188 */
189RP3D_FORCE_INLINE decimal ConvexMesh::getVolume() const {
190 return mVolume;
191}
192
193// Return the local inertia tensor of the mesh
194/// The local inertia tensor of the convex mesh is approximated using the inertia tensor

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected