Jamie Slowgrove - MGP Assignment 2 - JAM
 All Classes Namespaces Files Functions Variables Macros
Namespaces | Functions
LOS.h File Reference
#include <SDL.h>
#include <time.h>
#include <vector>
#include "Vec2.h"
#include "Node.h"
Include dependency graph for LOS.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 JAM_LOS
 A Namespace that contains functions for the Line Of Sight.
 

Functions

bool JAM_LOS::lineOfSight (JAM_Vec2 a, JAM_Vec2 b, std::vector< std::vector< JAM_Node * >> map, int nodeSize)
 
bool JAM_LOS::lineLineIntersectionCheck (JAM_Vec2 a, JAM_Vec2 b, JAM_Vec2 c, JAM_Vec2 d, char axis)
 
void JAM_LOS::drawLineOfSight (JAM_Vec2 a, JAM_Vec2 b, std::vector< std::vector< JAM_Node * >> map, int nodeSize, SDL_Renderer *renderer)
 
JAM_Vec2 JAM_LOS::getNewTarget (JAM_Vec2 a, std::vector< std::vector< JAM_Node * >> map, int nodeSize)