diff --git a/examples/opengl/OpenGL.cpp b/examples/opengl/OpenGL.cpp index 910830df4..639254bc0 100644 --- a/examples/opengl/OpenGL.cpp +++ b/examples/opengl/OpenGL.cpp @@ -75,7 +75,7 @@ int main() glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, texture); - // Define a 3D cube (8 faces made of 2 triangles composed by 3 vertices) + // Define a 3D cube (6 faces made of 2 triangles composed by 3 vertices) GLfloat cube[] = { // positions // texture coordinates diff --git a/examples/window/Window.cpp b/examples/window/Window.cpp index f50cea436..360703b42 100644 --- a/examples/window/Window.cpp +++ b/examples/window/Window.cpp @@ -44,7 +44,7 @@ int main() GLfloat ratio = static_cast(window.getSize().x) / window.getSize().y; glFrustum(-ratio, ratio, -1.f, 1.f, 1.f, 500.f); - // Define a 3D cube (8 faces made of 2 triangles composed by 3 vertices) + // Define a 3D cube (6 faces made of 2 triangles composed by 3 vertices) GLfloat cube[] = { // positions // colors (r, g, b, a)