Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2D Translation page refers to non-existing sample #171

Open
nounder opened this issue Jul 24, 2022 · 3 comments
Open

2D Translation page refers to non-existing sample #171

nounder opened this issue Jul 24, 2022 · 3 comments

Comments

@nounder
Copy link

nounder commented Jul 24, 2022

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.

@greggman
Copy link
Member

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

@nounder
Copy link
Author

nounder commented Jul 25, 2022

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

@greggman
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants