tmp push merge resolution not finished
This commit is contained in:
parent
2568aa69a6
commit
00dc0e9e67
16 changed files with 454 additions and 59 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/10/30 16:30:26 by rparodi #+# #+# */
|
||||
/* Updated: 2024/11/28 13:54:39 by bgoulard ### ########.fr */
|
||||
/* Updated: 2024/11/28 15:15:31 by bgoulard ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -22,6 +22,23 @@
|
|||
|
||||
# include <stdbool.h>
|
||||
|
||||
// utils
|
||||
int render_frame(t_info *data);
|
||||
void my_mlx_pixel_put(t_info *data, int x, int y, int color);
|
||||
double deg2rad(int deg);
|
||||
void rotate_plane(t_dpoint *plane, double angle);
|
||||
|
||||
// key pressed func
|
||||
void look_left(t_info *data);
|
||||
void look_right(t_info *data);
|
||||
void move_straight(t_info *data);
|
||||
void move_backward(t_info *data);
|
||||
void move_left(t_info *data);
|
||||
void move_right(t_info *data);
|
||||
|
||||
int get_cl(int side, t_ipoint step);
|
||||
t_tile *c3_get_cell(t_tile *map, t_ipoint dimensions, t_ipoint pos);
|
||||
|
||||
/// @brief Createsa a blank map for rapahael to test the raycasting
|
||||
/// @note Dev only function.
|
||||
void blank(t_info *info);
|
||||
|
|
@ -38,6 +55,6 @@ void parse_map(t_info *info);
|
|||
void parse_args(char *arg, t_info *inf);
|
||||
|
||||
int main(int argc, char *argv[]);
|
||||
void shelves_launch(t_info *info);
|
||||
int shelves_launch(t_info *info);
|
||||
|
||||
#endif /* CUB3D_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue