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

Fix transformation order in pivot documentation #71

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ekzhang
Copy link

@ekzhang ekzhang commented Jul 4, 2022

Hi @baku89, thank you for creating glisp. I really like the user interface and am trying to learn the language right now.

While reading the tutorial I saw two things in the transform documentation:

  • Extra (mat2d/*) in the first pivot example that only had 1 argument, so it was a no-op. I was confused by this part at first, but when I removed it nothing changed.
  • The "equivalent code" for pivot seems to have the order of transformations reversed. The [-20 -20] translation should be the last argument (applied first), rather than the first one (applied last).

Very small fix, I'll update the jp version code as well.

Previously the transformation order was incorrect for explaining the behavior of the `(pivot)` function.
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

Successfully merging this pull request may close these issues.

None yet

1 participant