bevy/examples/audio
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
..
audio.rs Adding explanation for loading additonal audio formats to example (#12998) 2024-04-20 02:15:06 +00:00
audio_control.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
decodable.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
pitch.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
soundtrack.rs Programmed soundtrack example (#12774) 2024-03-29 20:32:30 +00:00
spatial_audio_2d.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
spatial_audio_3d.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00