The existing math code is ugly and difficult to extend. Test a number of different math libraries (Eigen, GLM, internal routines) and make comparisons. They keep on improving those, esp. in performance.
If one outperforms the rest, then swap to it wholesale.Wrap around multiple libraries when appropriate.
Either way, keep internal routines for future correctness tests.
The existing math code is ugly and difficult to extend. Test a number of different math libraries (Eigen, GLM, internal routines) and make comparisons. They keep on improving those, esp. in performance.
If one outperforms the rest, then swap to it wholesale.Wrap around multiple libraries when appropriate.
Either way, keep internal routines for future correctness tests.