Jamie Slowgrove - AI Assignment 1
Line of Sight & A* path-finding
|
Functions | |
bool | lineOfSight (Vec2 a, Vec2 b, Map *map) |
bool | lineLineIntersectionCheck (Vec2 a, Vec2 b, Vec2 c, Vec2 d, char axis) |
void | drawLineOfSight (Vec2 a, Vec2 b, Map *map, SDL_Renderer *renderer) |
Vec2 | getNewTarget (Vec2 a, Map *map) |