Ajout du fichier roam.h, màj .gitignore, fermeture du bug 2011-09-27-2122-displayBug.txt (corrigé par 5fc8659)

This commit is contained in:
Georges Dupéron 2011-09-28 18:11:04 +02:00
parent 5fc8659d9b
commit bc57c974f7
3 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
simple-terrain
display
roam
*.o

20
roam.h Normal file
View File

@ -0,0 +1,20 @@
typedef struct Vertex {
int x;
int y;
int z;
/* Ajouter des champs ici. */
} Vertex;
typedef struct Triangle {
Vertex* vApex;
Vertex* vLeft;
Vertex* vRight;
struct Triangle* tLeftChild;
struct Triangle* tRightChild;
struct Triangle* tBaseNeighbor;
struct Triangle* tLeftNeighbor;
struct Triangle* tRightNeighbor;
struct Triangle* tParent;
} Triangle;
Triangle* initDefaultExample();