2022-06-04 23:44:54 +00:00
|
|
|
#pragma once
|
|
|
|
#include <vector>
|
|
|
|
#include <glm/glm.hpp>
|
|
|
|
|
|
|
|
namespace BarinkEngine{
|
|
|
|
|
|
|
|
|
|
|
|
struct Vertex {
|
|
|
|
glm::vec3 vertices;
|
|
|
|
glm::vec2 uv;
|
|
|
|
};
|
|
|
|
|
|
|
|
class Mesh {
|
|
|
|
public:
|
|
|
|
std::vector<Vertex> vertices;
|
|
|
|
std::vector<unsigned int > elements;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2022-05-04 21:25:18 +00:00
|
|
|
}
|