Skip to content

Conversation

Breakdown-Dog
Copy link
Contributor

Objective
Improve the readability of the float output in the bloom_3d example by formatting it to two decimal places.
This makes the output cleaner and more consistent.

Solution
Used Rust’s formatting syntax (e.g., {:.2}) to ensure floats are displayed with exactly two decimal places.
Applied this to all relevant print or debug output lines in the bloom_3d example.

Copy link
Member

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

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

Very sensible, thanks :)

@alice-i-cecile alice-i-cecile added D-Trivial Nice and easy! A great choice to get started with Bevy A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Sep 6, 2025
@alice-i-cecile alice-i-cecile added the M-Deliberate-Rendering-Change An intentional change to how tests and examples are rendered label Sep 6, 2025
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Sep 6, 2025
Merged via the queue into bevyengine:main with commit 8b9276a Sep 6, 2025
43 checks passed
@github-project-automation github-project-automation bot moved this to Done in Rendering Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples D-Trivial Nice and easy! A great choice to get started with Bevy M-Deliberate-Rendering-Change An intentional change to how tests and examples are rendered S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants