MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / getSphereGeometry

Method getSphereGeometry

physx/source/physx/src/NpShape.cpp:331–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329
330bool NpShape::getBoxGeometry(PxBoxGeometry& g) const { return getGeometryT(this, PxGeometryType::eBOX, g); }
331bool NpShape::getSphereGeometry(PxSphereGeometry& g) const { return getGeometryT(this, PxGeometryType::eSPHERE, g); }
332bool NpShape::getCapsuleGeometry(PxCapsuleGeometry& g) const { return getGeometryT(this, PxGeometryType::eCAPSULE, g); }
333bool NpShape::getPlaneGeometry(PxPlaneGeometry& g) const { return getGeometryT(this, PxGeometryType::ePLANE, g); }
334bool NpShape::getConvexMeshGeometry(PxConvexMeshGeometry& g) const { return getGeometryT(this, PxGeometryType::eCONVEXMESH, g); }

Callers 7

computeInternalRadiusFunction · 0.80
computeMassAndInertiaFunction · 0.80
computeInternalRadiusFunction · 0.80
getGeometryMethod · 0.80
outputSphereToStreamFunction · 0.80

Calls 1

getGeometryTFunction · 0.85

Tested by

no test coverage detected