| 412 | } |
| 413 | |
| 414 | struct 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 | |
| 425 | void PairBench::stepSimulation(float deltaTime) |
| 426 | { |