
Functions | |
| void | raycalc (const t_pos2 win_size, int x, float cam_angle, t_raydata *rdata) |
| Function to calculate rays using window size and camera angle. | |
Function to calculate rays using window size and camera angle.
| [in] | win_size | window size |
| [in] | x | x axis column |
| [in] | cam_angle | camera angle |
| [in,out] | rdata | structure to handle important values for rendering |
