This commit is contained in:
Robert 2021-01-20 00:18:31 +01:00
parent 6c47960b69
commit c3e49cd78e
10 changed files with 81 additions and 5 deletions

View file

@ -47,7 +47,9 @@ int main(int argc, char** argv)
{ 0, 3, GL_FLOAT, GL_FALSE, 3 * sizeof(float), (void*)0 }
};
oglu::Object(vertices, sizeof(vertices), nullptr, 0, topology, sizeof(topology));
oglu::Object triangle(vertices, sizeof(vertices), nullptr, 0, topology, sizeof(topology));
oglu::Shader shader("shaders/vertexShader.vert", "");
while (!glfwWindowShouldClose(window))