couch/core/Mesh.h
2021-01-13 10:42:57 -06:00

23 lines
355 B
C++

#ifndef MESH_H
#define MESH_H
#include "types.h"
#include "Vertex.h"
#include "Index.h"
#include "Transform.h"
class Mesh {
public:
VertexList vertices;
IndexList indices;
Transform transform;
Mesh();
Mesh(VertexList vertices, IndexList indices);
void Draw();
virtual void SetupMesh();
private:
Id VAO, VBO, EBO;
};
#endif /* MESH_H */