feat: vertex colors

This commit is contained in:
2025-11-29 10:07:59 +01:00
parent 0c94bf1df2
commit efbde487cc
5 changed files with 15 additions and 6 deletions

View File

@@ -7,8 +7,10 @@
#include <vector>
struct model {
std::vector<vec3> verts;
// At 0 vertecie index, at 1 normal index
std::vector<std::tuple<uint16_t, uint16_t>> faces;
std::vector<vec3> normals;
std::vector<vec3> colors;
};
#endif