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

Function extendForLL

physx/source/simulationcontroller/src/ScShapeCore.cpp:43–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41// djs: temporary cruft
42
43static PxConvexMeshGeometryLL extendForLL(const PxConvexMeshGeometry& hlGeom)
44{
45 PxConvexMeshGeometryLL llGeom;
46 static_cast<PxConvexMeshGeometry&>(llGeom) = hlGeom;
47
48 Gu::ConvexMesh* cm = static_cast<Gu::ConvexMesh*>(hlGeom.convexMesh);
49
50 llGeom.hullData = &(cm->getHull());
51 llGeom.gpuCompatible = hlGeom.convexMesh->isGpuCompatible();
52
53 return llGeom;
54}
55
56static PxTriangleMeshGeometryLL extendForLL(const PxTriangleMeshGeometry& hlGeom)
57{

Callers 1

resolveReferencesMethod · 0.85

Calls 3

isGpuCompatibleMethod · 0.80
getMaterialsMethod · 0.45
getDataMethod · 0.45

Tested by

no test coverage detected