comp20003-project01/dcel.h
2021-08-25 23:27:24 +10:00

20 lines
390 B
C
Executable file

#ifndef STDIO_HEADER
#define STDIO_HEADER
#include <stdio.h>
#endif
#ifndef DCEL_HEADER
#define DCEL_HEADER
typedef struct halfEdge halfEdge_t;
typedef struct vertex vertex_t;
typedef struct edge edge_t;
typedef struct face face_t;
vertex_t **readPolygon(vertex_t **vertices, FILE *polygonFile, \
int *numVertices);
void freeVertices(vertex_t **vertices, int numVertices);
#endif