SAH function - returns surface area for given AABB extents
| 334 | |
| 335 | // SAH function - returns surface area for given AABB extents |
| 336 | static PX_FORCE_INLINE void PxSAH(const Vec3VArg v, PxF32& sah) |
| 337 | { |
| 338 | FStore(V3Dot(v, V3PermZXY(v)), &sah); // v.x*v.y + v.y*v.z + v.x*v.z; |
| 339 | } |
| 340 | |
| 341 | struct SubSortSAH |
| 342 | { |