| 1878 | |
| 1879 | #ifndef ABP_SIMD_OVERLAP |
| 1880 | static PX_FORCE_INLINE int intersect2D(const SIMD_AABB_YZ4& a, const SIMD_AABB_YZ4& b) |
| 1881 | { |
| 1882 | /* if( |
| 1883 | b.mMaxY < a.mMinY || a.mMaxY < b.mMinY |
| 1884 | || |
| 1885 | b.mMaxZ < a.mMinZ || a.mMaxZ < b.mMinZ |
| 1886 | ) |
| 1887 | return 0; |
| 1888 | return 1;*/ |
| 1889 | |
| 1890 | const bool b0 = b.mMaxY < a.mMinY; |
| 1891 | const bool b1 = a.mMaxY < b.mMinY; |
| 1892 | const bool b2 = b.mMaxZ < a.mMinZ; |
| 1893 | const bool b3 = a.mMaxZ < b.mMinZ; |
| 1894 | // const bool b4 = b0 || b1 || b2 || b3; |
| 1895 | const bool b4 = b0 | b1 | b2 | b3; |
| 1896 | return !b4; |
| 1897 | } |
| 1898 | #endif |
| 1899 | |
| 1900 | static PX_FORCE_INLINE void outputPair(ABP_PairManager& pairManager, PxU32 index0, PxU32 index1) |
no outgoing calls
no test coverage detected