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

[WIP] Add rotation moves + make a new folder for path changes #14

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

Conversation

asinghvi17
Copy link
Collaborator

This PR moves each path change into its own file for simplicity / searchability. It will also add three new moves:

  • RotateCamera(duration, axis, angle) - rotate the camera around axis
  • OrbitCamera(duration, axis, angle) - similar to RotateCamera in implementation, but rotates the camera around its lookat while keeping that lookat constant.
  • CompoundMove: apply multiple moves simultaneously, so you can e.g. rotate the camera while translating. Moves are applied in order.

Copy link

codecov bot commented Jul 14, 2024

Codecov Report

Attention: Patch coverage is 91.52542% with 5 lines in your changes missing coverage. Please review.

Project coverage is 65.00%. Comparing base (7238496) to head (920d8f4).

Files Patch % Lines
src/pathchanges/pause.jl 78.57% 3 Missing ⚠️
src/pathchanges/constrainedmove.jl 93.75% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #14   +/-   ##
=======================================
  Coverage   65.00%   65.00%           
=======================================
  Files           5        8    +3     
  Lines         180      180           
=======================================
  Hits          117      117           
  Misses         63       63           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lazarusA
Copy link

I started using this package. Is really convenient, great. However, the functions defined in this PR are definitely something I'm kinda doing in a more cumbersome way 😄 . How can I help to make this go into master ?

@asinghvi17
Copy link
Collaborator Author

More use cases would be nice, I wrote these path changes for myself but not 100% sure how people are using them / if there is a more general strategy!

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.

2 participants