bubble game view with vertical ray pbm
This commit is contained in:
@@ -17,6 +17,12 @@
|
||||
# define SCREEN_FOCAL 90
|
||||
/* size of a cell on the map */
|
||||
# define CELL 20
|
||||
/* height of a wall without perpectiv */
|
||||
# define WALL_HEIGHT 200
|
||||
|
||||
/*
|
||||
* keys macro
|
||||
*/
|
||||
|
||||
/*
|
||||
* keys macro
|
||||
|
||||
@@ -36,6 +36,7 @@ typedef struct s_rcast
|
||||
t_vec screen_size;
|
||||
t_vec ray;
|
||||
t_vec wall;
|
||||
int wall_height;
|
||||
int screen_width;
|
||||
int screen_height;
|
||||
int cell;
|
||||
|
||||
Reference in New Issue
Block a user