Skip to content

Add const to bevy_math functions where applicable#24752

Open
davidgraymi wants to merge 5 commits into
bevyengine:mainfrom
davidgraymi:constify-bevy-math
Open

Add const to bevy_math functions where applicable#24752
davidgraymi wants to merge 5 commits into
bevyengine:mainfrom
davidgraymi:constify-bevy-math

Conversation

@davidgraymi

Copy link
Copy Markdown

Objective

Constify bevy_math without any major refactors as part of #16124.

Solution

Constify where I was able to.

Testing

cargo test -p bevy_math

@github-actions

Copy link
Copy Markdown
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide, as well as our policy regarding AI usage, and we look forward to reviewing your pull request shortly ✨

@davidgraymi davidgraymi changed the title chore: add const to bevy_math functions where applicable Add const to bevy_math functions where applicable Jun 25, 2026
@kfc35 kfc35 added C-Usability A targeted quality-of-life change that makes Bevy easier to use A-Math Fundamental domain-agnostic mathematical operations S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 26, 2026
@kfc35 kfc35 added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Math Fundamental domain-agnostic mathematical operations C-Usability A targeted quality-of-life change that makes Bevy easier to use S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants