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

Method testForOverlap

physx/samples/samplebase/TestGeometryHelpers.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#include "geometry/PxHeightFieldGeometry.h"
39
40bool Test::GeometryHelpers::testForOverlap(const PxShape& s0, const PxGeometry& g1, const PxTransform& globalPose1)
41{
42 return PxGeometryQuery::overlap(g1, globalPose1, s0.getGeometry().any(), PxShapeExt::getGlobalPose(s0, *s0.getActor()));
43}

Callers

nothing calls this directly

Calls 3

overlapFunction · 0.85
getGeometryMethod · 0.45
getActorMethod · 0.45

Tested by

no test coverage detected