webgl2-fundamentals icon indicating copy to clipboard operation
webgl2-fundamentals copied to clipboard

2D Translation page refers to non-existing sample

Open nounderline opened this issue 1 year ago • 3 comments

Beginning of "2D Translation" page refers to code sample with drawScene() function that is supposedly based on a previous sample from "Fundamentals" page. Expected changes made to this changes are highlighted.

However, "Fundamentals" page does not have any drawScene() function that "2D Translation" page is referring to.

Either "Fundamentals" code has to be worked to have such function or adjust "2D Translation" accordingly.

nounderline avatar Jul 24 '22 20:07 nounderline

  // Then let's make a function to
  // re-draw everything. We can call this
  // function after we update the translation.

greggman avatar Jul 25 '22 06:07 greggman

🙈 So I see. I think I got confused with line-changed highlight that wasn't there for the function wrapping.

nounderline avatar Jul 25 '22 09:07 nounderline

Sorry about that. I agree it's not as clear as it could be

greggman avatar Jul 25 '22 18:07 greggman