Lightguard is visual implementation of the Art Gallery Problem. It uses ray casting to determine the vision of each security guard (point) that you place into a randomly generated polygonal room.
|──lib/
| |──raycast.c (provides raycasting functionality)
|──rust/
|──|──src/
|──|──|──helper.rs (to perform array operations for random room generation)
|──main.c
- Build the project with
$ source ./build.sh
- Run the build
$ ./main