Jamie Slowgrove - AI Assignment 1
Line of Sight & A* path-finding
 All Classes Namespaces Files Functions Variables
Namespaces | Functions
lineOfSight.h File Reference
#include <time.h>
#include "vec2.h"
#include "SDL.h"
#include "map.h"
Include dependency graph for lineOfSight.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 LOS
 

Functions

bool LOS::lineOfSight (Vec2 a, Vec2 b, Map *map)
 
bool LOS::lineLineIntersectionCheck (Vec2 a, Vec2 b, Vec2 c, Vec2 d, char axis)
 
void LOS::drawLineOfSight (Vec2 a, Vec2 b, Map *map, SDL_Renderer *renderer)
 
Vec2 LOS::getNewTarget (Vec2 a, Map *map)