OpenGL-utility/src/object.cpp

21 lines
422 B
C++
Raw Normal View History

2021-01-19 18:47:54 +00:00
#include "object.hpp"
namespace oglu
{
Object::Object() :
VAO(0)
{
}
Object::Object(const GLfloat* vertices, size_t verticesSize,
const GLuint* indices, size_t indicesSize,
const VertexAttribute* topology, size_t topologySize) :
VAO(0)
{
GLuint VBO;
2021-01-19 23:18:31 +00:00
//glGenBuffers(1, &VBO);
2021-01-19 18:47:54 +00:00
2021-01-19 23:18:31 +00:00
//glBindBuffer(GL_ARRAY_BUFFER, VBO);
//glBufferData(GL_ARRAY_BUFFER, verticesSize, vertices, GL_STATIC_DRAW);
2021-01-19 18:47:54 +00:00
}
}