feat: wireframe rendering
This commit is contained in:
parent
68d63edef7
commit
829baa4b53
|
@ -98,6 +98,8 @@ int main()
|
||||||
|
|
||||||
Triangle triangle(compileShaderProgram());
|
Triangle triangle(compileShaderProgram());
|
||||||
|
|
||||||
|
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
|
||||||
|
|
||||||
// Main loop
|
// Main loop
|
||||||
while (!glfwWindowShouldClose(window))
|
while (!glfwWindowShouldClose(window))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue