Cub3D
 
Loading...
Searching...
No Matches
draw_column.c File Reference
#include "cub3d_render.h"
#include <math.h>
Include dependency graph for draw_column.c:

Functions

void draw_column (t_data *data, int x, const t_raydata *rdata)
 Draw a column of pixels from a raycast result.
 

Function Documentation

◆ draw_column()

void draw_column ( t_data * data,
int x,
const t_raydata * rdata )

Draw a column of pixels from a raycast result.

Parameters
[in,out]datadata structure
[in]xx axis column
[in,out]rdatastructure to handle important values for rendering
Here is the call graph for this function: