webgl2-fundamentals
webgl2-fundamentals copied to clipboard
2D Translation page refers to non-existing sample
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.
// Then let's make a function to
// re-draw everything. We can call this
// function after we update the translation.
🙈 So I see. I think I got confused with line-changed highlight that wasn't there for the function wrapping.
Sorry about that. I agree it's not as clear as it could be