aboutsummaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/scop.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/inc/scop.h b/inc/scop.h
new file mode 100644
index 0000000..8ae9864
--- /dev/null
+++ b/inc/scop.h
@@ -0,0 +1,35 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* scop.h :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2020/05/09 10:41:44 by charles #+# #+# */
+/* Updated: 2020/05/09 11:41:48 by charles ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#ifndef SCOP_H
+# define SCOP_H
+
+# include <unistd.h>
+# include <fcntl.h>
+# include <GL/glew.h>
+# include <GLFW/glfw3.h>
+# include "libft.h"
+# include "libft_vec.h"
+
+typedef struct
+{
+ float *vertices;
+ unsigned int indices;
+} t_object;
+
+/*
+** parse.c
+*/
+
+int parse(char *filepath, t_object *object);
+
+#endif