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

Method getCapsuleGeometry

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

Source from the content-addressed store, hash-verified

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); }
335bool NpShape::getTriangleMeshGeometry(PxTriangleMeshGeometry& g) const { return getGeometryT(this, PxGeometryType::eTRIANGLEMESH, g); }

Callers 9

computeCameraTargetMethod · 0.80
updateMethod · 0.80
computeMassAndInertiaFunction · 0.80
getGeometryMethod · 0.80
setRadiusMethod · 0.80
setHeightMethod · 0.80
outputCapsuleToStreamFunction · 0.80

Calls 1

getGeometryTFunction · 0.85

Tested by

no test coverage detected