MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / generic_overlap

Method generic_overlap

src/PhysicsSolver.cpp:165–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165bool RavEngine::PhysicsSolver::generic_overlap(const PhysicsTransform& t, const PxGeometry& geo, OverlapHit& out_hit)
166{
167 PxOverlapBuffer hit;
168 bool result = scene->overlap(geo,PxTransform(PxVec3(t.pos.x,t.pos.y,t.pos.y),PxQuat(t.rot.x,t.rot.y,t.rot.z,t.rot.w)),hit);
169 out_hit = OverlapHit(hit);
170 return result;
171}
172
173
174/**

Callers

nothing calls this directly

Calls 5

OverlapHitClass · 0.85
PxTransformClass · 0.50
PxVec3Class · 0.50
PxQuatClass · 0.50
overlapMethod · 0.45

Tested by

no test coverage detected