Files
SoftwareRenderer/model.hpp
2025-11-29 10:07:59 +01:00

17 lines
310 B
C++

#ifndef MODEL_H
#define MODEL_H
#include "fastmath.hpp"
#include <tuple>
#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