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

Add transform function + Improve rotate #324

Merged
merged 5 commits into from
Nov 19, 2023
Merged

Conversation

johannes-wolf
Copy link
Member

  • Adds a new transform(matrix) function for setting or resetting the transformation matrix
  • Changes rotate to take a single angle or a set of named arguments of one of the lists: x, y, z or yaw, pitch, roll to create a rotation matrix

@johannes-wolf johannes-wolf added the enhancement ⬆️ New feature or request label Nov 10, 2023
@johannes-wolf johannes-wolf force-pushed the fix-rotation-matrix branch 2 times, most recently from 0a58e34 to ab85599 Compare November 10, 2023 02:35
@johannes-wolf johannes-wolf changed the title transform: Add transform function Add transform function + Improve rotate Nov 10, 2023
Base automatically changed from shorten-cubic to 0.2.0 November 10, 2023 18:17
src/draw/transformations.typ Outdated Show resolved Hide resolved
src/draw/transformations.typ Outdated Show resolved Hide resolved
src/draw/transformations.typ Outdated Show resolved Hide resolved
src/draw/transformations.typ Outdated Show resolved Hide resolved
src/draw/transformations.typ Outdated Show resolved Hide resolved
@johannes-wolf
Copy link
Member Author

@fenjalien Applied all your remarks :)

src/draw/transformations.typ Outdated Show resolved Hide resolved
src/draw/transformations.typ Outdated Show resolved Hide resolved
@johannes-wolf
Copy link
Member Author

Updated the ref-images (rotation is now CCW) and added the bad values to the error messages.

@johannes-wolf johannes-wolf merged commit 9bac962 into 0.2.0 Nov 19, 2023
2 checks passed
@johannes-wolf johannes-wolf deleted the fix-rotation-matrix branch November 19, 2023 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ⬆️ New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants