Category: Architecture
Status: DONE
Refactored via #296. Consolidates quadratic root-finding in support of physics solvers that need it (motion solve, ball-cushion, ball-ball, etc.).
This was just a small sidequest that occurred because I had beefed up the quadratic solver in 3d branch, then ported it to main some time ago without deleting the legacy version.
Source: pooltool/ptmath/roots/quadratic.py.
Category: Architecture
Status: DONE
Refactored via #296. Consolidates quadratic root-finding in support of physics solvers that need it (motion solve, ball-cushion, ball-ball, etc.).
This was just a small sidequest that occurred because I had beefed up the quadratic solver in 3d branch, then ported it to main some time ago without deleting the legacy version.
Source:
pooltool/ptmath/roots/quadratic.py.