openblocks/core/src/rendering/mesh.h

12 lines
No EOL
161 B
C++

#pragma once
class Mesh {
unsigned int VBO, VAO;
public:
int vertexCount;
Mesh(int vertexCount, float* vertices);
~Mesh();
void bind();
};