aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2020-02-15 15:10:46 +0100
committersalaaad2 <arthurdurant263@gmail.com>2020-02-15 15:10:46 +0100
commite141146776d9e0ac6bffe71c18dbe634ed1c2658 (patch)
tree6f38fe00f5f8e92cb1207c941a154647fad1f70a /src
parentswap east and west, add texture init function (diff)
download42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.tar.gz
42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.tar.bz2
42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.tar.xz
42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.tar.zst
42-cub3d-e141146776d9e0ac6bffe71c18dbe634ed1c2658.zip
small changez
Diffstat (limited to 'src')
-rw-r--r--src/ft_draw_textures.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/ft_draw_textures.c b/src/ft_draw_textures.c
new file mode 100644
index 0000000..36cc832
--- /dev/null
+++ b/src/ft_draw_textures.c
@@ -0,0 +1,25 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_basic_keys.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: fmoenne- <marvin@42.fr> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/02/14 17:43:55 by fmoenne- #+# #+# */
+/* Updated: 2020/02/14 17:43:56 by fmoenne- ### ########lyon.fr */
+/* */
+/* ************************************************************************** */
+
+#include <cub3d.h>
+#include <stdint.h>
+
+void ft_draw_wall(t_cub *clist, int x, int draw_start, int draw_end)
+{
+ clist->img.ptr[/*calcul a la con*/x];
+ /*
+ * faire calcul wola
+ *
+ *
+ *
+ */
+}