start project with header, struct, mlx functionnal, and basic key event action

This commit is contained in:
hugogogo
2022-03-23 14:27:36 +01:00
parent 1959a1a9a3
commit 95bd304708
11 changed files with 228 additions and 1 deletions

View File

@@ -0,0 +1,9 @@
#include "cube3d.h"
int shut_down(t_game *game)
{
mlx_destroy_window(game->mlx_ptr, game->win_ptr);
exit(0);
free(game);
return (0);
}