summaryrefslogtreecommitdiff
path: root/lib/maths.h
Commit message (Collapse)AuthorAge
* 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
|
* Add crossInt - cross product for integer vectorsDan Goodliffe2023-12-02
|
* WIP typedefing all the things - headersDan Goodliffe2023-11-07
|
* Inplace operator%= for vec3/mat4 mutationDan Goodliffe2023-03-10
|
* Add helper operator to perform vec3*mat4 and perspective divideDan Goodliffe2023-02-01
|
* Add helper to apply perspective divisionDan Goodliffe2022-12-28
| | | | Returns vec3 by default, but dimensions can be specified
* Helper for midpoint of pairDan Goodliffe2022-12-18
|
* Rename rdiv to ratio and add a vec2 overrideDan Goodliffe2022-11-18
|
* Replace include guard macros with pragma onceDan Goodliffe2022-01-02
|
* Add glm::vec concatenation operator||Dan Goodliffe2021-12-31
|
* 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.
* 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.
* Global definition of quarter_piDan Goodliffe2021-02-28
|
* Move utility to libDan Goodliffe2021-02-28