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

Release/modeling cmds/0.2.43 #440

Closed
wants to merge 3 commits into from
Closed

Conversation

benjamaan476
Copy link
Contributor

Added Commands to transform objects:

  • SetObject(Position/Rotation/Scale) will set the specified local value to the passed in argument
  • (Translate/Rotate/Scale)Object is a relative change based on the current local value. E.g. translate({5, 0, 0}) will move the object 5 units along the x-axis from say {11, 0, 0} to {16, 0, 0}. SetObjectPosition({5, 0, 0}) will set the position to {5, 0, 0}
  • SetObjectParent will set the parent object of an object. The object (child) will inherit its parent's local values and its values will be applied on top of those values

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Please upload report for BASE (main@f8ac5a3). Learn more about missing BASE report.

Files Patch % Lines
modeling-cmds/src/def_enum.rs 0.00% 7 Missing ⚠️
modeling-cmds/src/format/fbx.rs 0.00% 2 Missing ⚠️
modeling-cmds/src/format/gltf.rs 0.00% 1 Missing ⚠️
modeling-cmds/src/format/mod.rs 0.00% 1 Missing ⚠️
modeling-cmds/src/format/obj.rs 0.00% 1 Missing ⚠️
modeling-cmds/src/format/ply.rs 0.00% 1 Missing ⚠️
modeling-cmds/src/format/sldprt.rs 0.00% 1 Missing ⚠️
modeling-cmds/src/format/step.rs 0.00% 1 Missing ⚠️
modeling-cmds/src/format/stl.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #440   +/-   ##
=======================================
  Coverage        ?   26.82%           
=======================================
  Files           ?       29           
  Lines           ?     1655           
  Branches        ?        0           
=======================================
  Hits            ?      444           
  Misses          ?     1211           
  Partials        ?        0           
Flag Coverage Δ
unittests 26.82% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@jessfraz jessfraz deleted the release/modeling-cmds/0.2.43 branch August 13, 2024 16:18
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.

1 participant