#include <SDL.h>
#include <time.h>
#include <vector>
#include "Vec2.h"
#include "Node.h"
Go to the source code of this file.
|
| JAM_LOS |
| A Namespace that contains functions for the Line Of Sight.
|
|
|
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) |
|