#ifndef GEOMETRY_H #include "point.h" #include struct Face { unsigned int vertIndex[3]; }; struct Mesh { inline Mesh(void) { position.x = 0.0f; position.y = 0.0f; position.z = 0.0f; rotation[0] = 0.0f; rotation[1] = 0.0f; rotation[2] = 0.0f; scale = 1.0f; } Point position; float rotation[3]; float scale; std::vector verts; std::vector vertsTransformed; std::vector faces; }; #define GEOMETRY_H #endif