Module torchbearer::fov

source ·
Expand description

Collection of utility function to calculate field of vision.

Traits

Implement the VisionMap trait to use the field of view function.

Functions

An implementation of the field of view algorithm using basic raycasting. Returns a vector containing all points visible from the starting position, including the starting position.