summaryrefslogtreecommitdiff
path: root/src/math.h
Commit message (Collapse)AuthorAgeFilesLines
* added a epoch_PnPoly which mimics the interface the other *_PnPoly functions ↵epoch2020-10-111-4/+4
| | | | use, but it only just does a bounding box check. changed from cs_t to c2_t (int to real)
* added the "subsume" commandepoch2020-06-031-2/+2
|
* new function: c2_add. you can guess what it does.epoch2020-04-141-0/+1
|
* bunch of stuff that added proper flatten, then broke stuff again trying to ↵epoch2020-03-281-0/+4
| | | | make it use libhashtable
* some more functions went into math.hepoch2020-03-071-0/+4
|
* renamed a functionepoch2018-03-291-1/+1
|
* working on some more math for checking whether a point is inside a polygon ↵epoch2018-02-031-0/+1
| | | | or not. WIP.
* switching math to just double and not double longepoch2017-12-241-2/+4
|
* added radians to degrees functionepoch2017-11-041-0/+1
|
* I have no idea why I am doing this...epoch2017-03-191-0/+1
|
* converted more things to use the radians and degrees structures, fixed up ↵epoch2017-02-091-6/+6
| | | | 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/+18
graphics.c into math.c so the headless does not need graphics.c