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 clone_scaled to Shape traits #217

Merged
merged 6 commits into from
Jul 20, 2024
Merged

Conversation

Neo-Zhixing
Copy link
Contributor

We currently have some generic logic for scaling Shape in bevy_rapier. It seems reasonable to put this in the Shape trait so that the same logic can be reused elsewhere.

Copy link
Member

@sebcrozet sebcrozet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR! Having this in parry directly sounds convenient.

src/shape/shape.rs Outdated Show resolved Hide resolved
@Neo-Zhixing Neo-Zhixing requested a review from sebcrozet July 11, 2024 18:50
@sebcrozet sebcrozet merged commit 5479a8d into dimforge:master Jul 20, 2024
5 checks passed
@sebcrozet
Copy link
Member

Thanks!

@Neo-Zhixing Neo-Zhixing deleted the clone-scaled branch July 20, 2024 21:28
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