Refactor math functions, add unit tests

After some testing, I decided to ditch the DirectX approach of writing
math functions.

Additionally, I added unit tests (with reference wxMaxima calculations)
for most math functions and fixed several bugs along the way.
This commit is contained in:
2025-01-29 09:14:58 +03:00
parent ab27004af6
commit 47c21a2035
8 changed files with 1760 additions and 1273 deletions

Binary file not shown.

Binary file not shown.

BIN
test/reference/point2f.wxmx Normal file

Binary file not shown.

BIN
test/reference/point3f.wxmx Normal file

Binary file not shown.

BIN
test/reference/point4f.wxmx Normal file

Binary file not shown.