22 lines
213 B
C
22 lines
213 B
C
|
#ifndef GEOMETRY_H
|
||
|
|
||
|
#include "point.h"
|
||
|
#include <vector>
|
||
|
|
||
|
|
||
|
struct Face
|
||
|
{
|
||
|
unsigned int vertIndex[3];
|
||
|
};
|
||
|
|
||
|
struct Mesh
|
||
|
{
|
||
|
std::vector<Point> verts;
|
||
|
std::vector<Face> faces;
|
||
|
};
|
||
|
|
||
|
|
||
|
#define GEOMETRY_H
|
||
|
#endif
|
||
|
|