aboutsummaryrefslogtreecommitdiff
path: root/inc/scop.h
blob: 8ae9864b57fa01f42102dbbb6a01d6130d1e01d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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