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

Method getGeometry

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

Source from the content-addressed store, hash-verified

310}
311
312PxGeometryHolder NpShape::getGeometry() const
313{
314 PX_COMPILE_TIME_ASSERT(sizeof(Gu::GeometryUnion)>=sizeof(PxGeometryHolder));
315 return reinterpret_cast<const PxGeometryHolder&>(mShape.getGeometry());
316}
317
318template<class T>
319static PX_FORCE_INLINE bool getGeometryT(const NpShape* npShape, PxGeometryType::Enum type, T& geom)

Callers 15

updateInertiaFunction · 0.45
stepPhysicsFunction · 0.45
renderActorsFunction · 0.45
readyToSyncCCTMethod · 0.45
detachMethod · 0.45
explodeMethod · 0.45
computeInternalRadiusFunction · 0.45
testForOverlapMethod · 0.45
linearSweepSingleMethod · 0.45

Calls

no outgoing calls

Tested by 1

testForOverlapMethod · 0.36