#pragma once #include "vertex.h" #include "vec4.h" #include "color.h" #include struct Mesh { public: struct Face { unsigned short a, b, c; Face() : a(0), b(0), c(0) {}; Face(unsigned short A, unsigned short B, unsigned short C) : a(A), b(B), c(C) {}; Face(const Face& other) { a = other.a; b = other.b; c = other.c; }; }; std::vector vertices; std::vector faces; std::vector tangents; std::vector colors; std::vector uvs2; };