pub fn eps_tol() -> f32Expand description
The absolute tolerance used by the GJK algorithm.
This function returns the epsilon (tolerance) value that GJK uses to determine when it has converged to a solution. The tolerance affects:
- When two points are considered “close enough” to be the same
- When the algorithm decides it has found the minimum distance
- Numerical stability in edge cases
The returned value is 10 times the default machine epsilon for the current floating-point precision (f32 or f64). This provides a balance between accuracy and robustness.
§Returns
The absolute tolerance value (10 * DEFAULT_EPSILON)