bevy/examples/math
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
..
cubic_splines.rs style: simplify string formatting for readability (#15033) 2024-09-03 23:35:49 +00:00
custom_primitives.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
random_sampling.rs Use AccumulatedMouseMotion, AccumulatedMouseScroll in examples (#14488) 2024-07-29 23:38:59 +00:00
render_primitives.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
sampling_primitives.rs Rename rendering components for improved consistency and clarity (#15035) 2024-09-10 01:11:46 +00:00