MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / OverlappingPairSortPredicate

Class OverlappingPairSortPredicate

examples/OpenCL/broadphase/PairBench.cpp:414–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414struct OverlappingPairSortPredicate
415{
416 inline bool operator()(const b3Int4& a, const b3Int4& b) const
417 {
418 if (a.x != b.x) return (a.x < b.x);
419 if (a.y != b.y) return (a.y < b.y);
420 if (a.z != b.z) return (a.z < b.z);
421 return (a.w < b.w);
422 }
423};
424
425void PairBench::stepSimulation(float deltaTime)
426{

Callers 1

stepSimulationMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected