rlk/envtools — pull request #1 by 1ace (2014-01-05 15:30:11+00:00)
Title: Fixed a couple things

It didn't compile for me, so I changed a few things:
- Moved `#define` out of `envremap.c` and included them in `envtoirr.c`
- Added lib math to `Makefile`

Also, you defined `PI` and then used `M_PI` in your code, so I renamed all of those to use your `#define`.