summaryrefslogtreecommitdiff
path: root/src/math.c
Commit message (Collapse)AuthorAgeFilesLines
* left some really derpy code in the move command. added extra check to return ↵epoch2020-04-031-1/+1
| | | | of ht_getnode for group relative info
* removed some debuggery and found I need to add a group_rot for the camera ↵epoch2020-04-031-3/+4
| | | | under the user's name in the group_rot hashtable.
* I was dereferencing a value without checking it first. just stopped using ↵epoch2020-04-021-3/+4
| | | | the value. just to get it working again.
* 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