summaryrefslogtreecommitdiff
path: root/lib/maths.cpp
Commit message (Collapse)AuthorAge
* Add helper constructors to ArcDan Goodliffe2024-03-21
| | | | | | * Two angles, wraps logic ensuring b after a * Two vector directions * Centre and two endpoints, in at least 2 dimensions, uses .xy()
* vector_yaw only needs 2 dimensionsDan Goodliffe2024-03-21
|
* Templatise functions in maths.h using PositionNDDan Goodliffe2023-12-29
|
* Remove misleading power operator^ on vec2/3Dan Goodliffe2023-12-29
|
* Remove weird operator! on vec2/3Dan Goodliffe2023-12-29
|
* WIP typedefing all the things - sourcesDan Goodliffe2023-11-09
|
* Reformat with new clang-formatDan Goodliffe2023-11-07
|
* Initial implementation for being able to click in the main window to select ↵Dan Goodliffe2021-12-28
| | | | something
* 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.
* Fix warnings produced by new clang-tidyDan Goodliffe2021-05-02
|
* Speed conversions and literalsDan Goodliffe2021-03-07
|
* Template rotations and add one for 2D rotation matrixDan Goodliffe2021-03-05
|
* Simplify a lot of code with sincosfDan Goodliffe2021-03-03
|
* Our own matrix rotationsDan Goodliffe2021-03-03
| | | | Simpler and faster than glm's as we don't need arbitrary axes.
* Move utility to libDan Goodliffe2021-02-28