Skip to content

Make shapes constructed from bevy primitives dynamically resize to bounds - #55

Merged
johanhelsing merged 9 commits into
mainfrom
bounded-shapes
Oct 19, 2025
Merged

johanhelsing merged 9 commits into
mainfrom
bounded-shapes

Conversation

@johanhelsing

@johanhelsing johanhelsing commented Oct 19, 2025 •

Copy link
Copy Markdown
Owner

Make shapes automatically resize to fit bounds.

Bounds is now basically the "size" of the the shape, perhaps it should be renamed...

If we chose to expose the SmudPrimitive trait it would be relatively trivial to implement conversions for your own shape "primitives". Not doing this in this PR, though.

@johanhelsing johanhelsing added the enhancement New feature or request label Oct 19, 2025
Less boilerplate... and maybe it's nice to be backwards compatible.
@johanhelsing
johanhelsing merged commit af1fdb7 into main Oct 19, 2025
3 checks passed
@johanhelsing
johanhelsing deleted the bounded-shapes branch October 19, 2025 17:23
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.

1 participant