Go to the source code of this file.
◆ FOV
Field of view (between 60 and 90 is okay, more than 90 warps the image)
◆ anonymous enum
| Enumerator |
|---|
| NORTH_SOUTH_WALL | |
| WEAST_EAST_WALL | |
◆ cast_rays()
Cast the 2D top-down vision rays for the player and calls the 3D render
◆ get_ammount_of_rays()
| int get_ammount_of_rays |
( |
void |
| ) |
|
Returns the current ammount of rays for current FOV and resolution
◆ init_raycaster()
| void init_raycaster |
( |
void |
| ) |
|
Initialize the raycaster
- Note
- Don't forget to use quit_raycaster after
◆ quit_raycaster()
| void quit_raycaster |
( |
void |
| ) |
|
Safely delete and disable the raycaster