player rotates and moves, rays for raycasting on map

This commit is contained in:
Hugo LAMY
2022-04-18 18:27:16 +02:00
parent 00b3612c16
commit 01eb2255d2
21 changed files with 689 additions and 138 deletions

View File

@@ -1,14 +1,6 @@
#ifndef MEMORYBOOK_H
# define MEMORYBOOK_H
typedef void(*t_mb_func_exit)(void*);
typedef struct s_exit
{
t_mb_func_exit f;
void *param;
} t_exit;
void mb_init(void(*f)(void*), void *param);
void *mb_alloc(size_t size);
void mb_add(void *addr);