Pyrogenesis  trunk
Classes | Enumerations | Variables
Los.h File Reference
#include "Grid.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.

Classes

class  CLosQuerier
 Object providing efficient abstracted access to the LOS state. More...
 

Enumerations

enum  LosState : u8 { LosState::UNEXPLORED = 0, LosState::EXPLORED = 1, LosState::VISIBLE = 2, LosState::MASK = 3 }
 

Variables

static constexpr i32 LOS_TILE_SIZE = 4
 Computing LOS data at a very high resolution is not necessary and quite slow. More...
 

Enumeration Type Documentation

◆ LosState

enum LosState : u8
strong
Enumerator
UNEXPLORED 
EXPLORED 
VISIBLE 
MASK 

Variable Documentation

◆ LOS_TILE_SIZE

constexpr i32 LOS_TILE_SIZE = 4
static

Computing LOS data at a very high resolution is not necessary and quite slow.

This is the size, in meters, separating each LOS vertex. (Note that this also means it is the minimal meaningful resolution of any vision range change).