#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>

#ifndef OBJET_H_INCLUDED
#define OBJET_H_INCLUDED

#define TAILLE_MAX 1000 // Tableau de taille 1000
#define TAILLE_MAX2 10000
#define TAILLE 100
#define TAILLE2 10


typedef struct Couleur{
    float r;
    float g;
    float b;
    }Couleur;

typedef struct Point{
    float x;
    float y;
    float z;
    }Point;

typedef struct Camera{
    Point pos;
    Point look;
}Camera;

typedef struct Source{
    Point pos;
    Couleur color;
}Source;

typedef struct Background{
    Couleur color;
}Background;

typedef struct Cube{

    Point p1;
    Point p2;
    Couleur couleur;
    Couleur texture;
    }Cube;

typedef struct Sphere{

    Point centre;
    float rayon;
    Couleur couleur;
    Couleur texture;
}Sphere;


#endif // OBJET_H_INCLUDED
