Cub3D
 
Loading...
Searching...
No Matches
init.c File Reference
#include "cub3d.h"
#include "cub3d_render.h"
#include "libft.h"
#include "mlx.h"
#include <stdlib.h>
Include dependency graph for init.c:

Functions

t_datacub_init (t_data *data)
 Initialize map and backbuffer for rendering.
 

Function Documentation

◆ cub_init()

t_data * cub_init ( t_data * data)

Initialize map and backbuffer for rendering.

Parameters
[in,out]datadata structure
Returns
t_data* data if successful, NULL otherwise
Here is the call graph for this function: