I am currently working on some collision detection code, and numerical precision seems to be one of the major challenges. Given that pretty much all intersection and interpenetration tests can be reduced to sign of determinant comparisons, I was wondering if anyone in this forum has already implemented a suitable set of primitives, i.e. a set of functions that calculate the exact sign (no over/underflow etc.) of 2x2, 3x3 and 4x4 determinants of 15.16 fixed point input coordinates.
- HM