bevy/examples/animation
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
..
animated_fox.rs Add AnimationGraph::from_clips and simplify animated_fox example (#14853) 2024-08-25 14:16:04 +00:00
animated_transform.rs Implement the AnimationGraph, allowing for multiple animations to be blended together. (#11989) 2024-03-07 20:22:42 +00:00
animation_graph.rs Have EntityCommands methods consume self for easier chaining (#14897) 2024-08-26 18:24:59 +00:00
animation_masks.rs Fix some examples having different instruction text positions (#15017) 2024-09-02 22:48:48 +00:00
color_animation.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
cubic_curve.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
custom_skinned_mesh.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
gltf_skinned_mesh.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
morph_targets.rs glTF labels: add enum to avoid misspelling and keep up-to-date list documented (#13586) 2024-05-31 23:25:57 +00:00