Structure used to store the raycasting data. It contains all the information needed to cast a ray. More...
#include <data_structure.h>

Data Fields | |
| t_vec2 | ray_dir |
| t_vec2 | side_dist |
| t_vec2 | delta_dist |
| t_vec2 | pos |
| t_vec2 | plane |
| t_pos2 | map |
| t_pos2 | step |
| int | hit_wall |
| int | hit_side |
| int | ceil_color |
| int | floor_color |
Structure used to store the raycasting data. It contains all the information needed to cast a ray.
| int s_raydata::ceil_color |
| t_vec2 s_raydata::delta_dist |
| int s_raydata::floor_color |
| int s_raydata::hit_side |
| int s_raydata::hit_wall |
| t_pos2 s_raydata::map |
| t_vec2 s_raydata::plane |
| t_vec2 s_raydata::pos |
| t_vec2 s_raydata::ray_dir |
| t_vec2 s_raydata::side_dist |
| t_pos2 s_raydata::step |