summaryrefslogtreecommitdiff
path: root/test/test-maths.cpp
Commit message (Collapse)AuthorAge
* Remove Position3D from testsDan Goodliffe2024-01-07
|
* Template Ray on position typeDan Goodliffe2024-01-07
|
* Remove more use of legacy typesDan Goodliffe2024-01-01
|
* Templatise functions in maths.h using PositionNDDan Goodliffe2023-12-29
|
* Integer cameraDan Goodliffe2023-12-11
|
* Helper for testing integer vector approximationsDan Goodliffe2023-12-09
|
* Model positions as integersDan Goodliffe2023-11-25
| | | | | Introduces test failure in arcs due to rounding, but I don't want to create a complicated fix as link positions are still floats and hopefully that'll go away... somehow
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Drop .hpp for header only thingsDan Goodliffe2023-04-29
| | | | Half of them acquired a .cpp part anyway
* Fix up all the static analyzer warningsDan Goodliffe2023-01-08
|
* Make Camera members private with accessors and helpful settersDan Goodliffe2022-12-12
|
* Ray function a calculate how close it passes to a line defined by 2 pointsDan Goodliffe2022-08-29
|
* Encapsulate RayDan Goodliffe2022-01-02
|
* Initial implementation for being able to click in the main window to select ↵Dan Goodliffe2021-12-28
| | | | something
* Fix up lots of static analyzer warningsDan Goodliffe2021-11-27
|
* Enable all Jason Turner recommended warningsDan Goodliffe2021-11-26
|
* Swap y,z axisDan Goodliffe2021-11-16
| | | | This was a pain... but all the coords make much more sense now and a lot of mystery negation has disappeared.
* Template rotations and add one for 2D rotation matrixDan Goodliffe2021-03-05
|
* Test rotation funcs with a huge range of random valuesDan Goodliffe2021-03-04
|
* Our own matrix rotationsDan Goodliffe2021-03-03
| | | | Simpler and faster than glm's as we don't need arbitrary axes.
* Global definition of quarter_piDan Goodliffe2021-02-28
|
* Calculate the radius to join to point+direction vector pairsDan Goodliffe2021-02-27
| | | | | This uses a mental formula that was derived using symbolabs.com, it works but there just has to be simpler form of it!
* Add meandering supportDan Goodliffe2021-02-22
| | | | Add rail links between existing nodes and arbitrary points
* fix.arcDan Goodliffe2021-02-21
|
* Code tidy-upDan Goodliffe2021-02-14
|
* Add vector pitchDan Goodliffe2021-02-14
|
* Rename flat_angle to vector_yawDan Goodliffe2021-02-14
|
* Add test-mathsDan Goodliffe2021-02-14