gbarubik/inc/mesh.hpp
2023-11-25 17:05:01 -07:00

23 lines
372 B
C++

#ifndef MESH_HPP
#define MESH_HPP
#include "vector.hpp"
#include <memory>
#include <tonc.h>
#include <tuple>
class Scene;
typedef struct TRIANGLE {
std::tuple<std::uint8_t, std::uint8_t, std::uint8_t> vertex_indices;
std::uint8_t color_idx;
} TRIANGLE;
class Mesh {
public:
usu::vector<VECTOR> vertices;
usu::vector<TRIANGLE> triangles;
};
#endif // MESH_HPP