Theta Star pathfinding 

Implementation of Theta Star pathfinding algorithm from:

http://aigamedev.com/open/tutorials/theta-star-any-angle-paths/

Click to set start point.
Ctrl + Click to set end point.

Click checkbox to toggle between Theta* and A*

TODO: Raycasting needs to be changed, since it uses Bresenham's line algorithm which is obviously ineffective.