Trace Engine
A Raycaster Engine in C
Loading...
Searching...
No Matches
render.h File Reference
#include "trc_world_position.h"
#include "map.h"

Go to the source code of this file.

Data Structures

struct  ray_t
 

Functions

void render_line (const ray_t ray)
 

Function Documentation

◆ render_line()

void render_line ( const ray_t  ray)

Render a vertical line in the window, using the info from ray

Parameters
rayA ray_t type, with the info of the wall, floor and ceiling to render