summaryrefslogtreecommitdiff
path: root/src/math.c
Commit message (Collapse)AuthorAgeFilesLines
* bunch of stuff that added proper flatten, then broke stuff again trying to ↵epoch2020-03-281-0/+93
| | | | make it use libhashtable
* moved the group_rotation based transformations into a function in math.c so ↵epoch2020-03-071-0/+61
| | | | I could reuse it for the new "flatten" command.
* changed the name of a conflicting structepoch2019-06-301-1/+1
|
* fuck if I know. lots of shit. moved files.epoch2018-12-161-1/+1
|
* added a comment about an idea and renamed a function.epoch2018-03-291-2/+2
|
* working on some more math for checking whether a point is inside a polygon ↵epoch2018-02-031-0/+58
| | | | or not. WIP.
* switching math to just double and not double longepoch2017-12-241-7/+7
|
* added a note to anyone wanting to fiddle with some mathepoch2017-12-191-0/+2
|
* added radians to degrees functionepoch2017-11-041-0/+4
|
* fixed rotate_c2 to use the right trig functions for x and y and to use the ↵epoch2017-09-301-6/+6
| | | | right order in its points_to_angle
* the changes needed to get tictactoe running pretty.epoch2017-04-181-2/+8
|
* I have no idea why I am doing this...epoch2017-03-191-1/+14
|
* converted more things to use the radians and degrees structures, fixed up ↵epoch2017-02-091-13/+16
| | | | distance between camera stuff (try using p and l to change during runtime) and got rid of a couple things that were commented out anyway.
* made all versions get built by default and moved some functions from ↵epoch2017-01-091-0/+38
graphics.c into math.c so the headless does not need graphics.c