opentk / LearnOpenTK

A port of learnopengl.com's tutorials to OpenTK and C#.
Creative Commons Attribution 4.0 International
465 stars 115 forks source link

Chapter1.3 corrected code comment #78

Closed Donzasto closed 2 years ago

Donzasto commented 2 years ago

Correct the _indices array comments, because The first triangle is
[0] 0.5f, 0.5f, 0.0f, // top right [1] 0.5f, -0.5f, 0.0f, // bottom right [3] -0.5f, 0.5f, 0.0f, // top left The second triangle is
[1] 0.5f, -0.5f, 0.0f, // bottom right [2] -0.5f, -0.5f, 0.0f, // bottom left [3] -0.5f, 0.5f, 0.0f, // top left

NogginBops commented 2 years ago

What happened with this PR? Why did you close it?

NogginBops commented 2 years ago

Looking at the code, you are correct. The comments are wrong, as you've deleted the branch I can't reopen this PR again, so I'll make a new one with these changes.