bevy/examples/games
Benjamin Brienen 29508f065f
Fix floating point math (#15239)
# Objective

- Fixes #15236

## Solution

- Use bevy_math::ops instead of std floating point operations.

## Testing

- Did you test these changes? If so, how?
Unit tests and `cargo run -p ci -- test`

- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
Execute `cargo run -p ci -- test` on Windows.

- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?
Windows

## Migration Guide

- Not a breaking change
- Projects should use bevy math where applicable

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: IQuick 143 <IQuick143cz@gmail.com>
Co-authored-by: Joona Aalto <jondolf.dev@gmail.com>
2024-09-16 23:28:12 +00:00
..
alien_cake_addict.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
breakout.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
contributors.rs Disentangle bevy_utils/bevy_core's reexported dependencies (#12313) 2024-03-07 02:30:15 +00:00
desk_toy.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
game_menu.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
loading_screen.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00
stepping.rs Fixing text sizes for examples (#15190) 2024-09-16 23:14:37 +00:00