bevy/examples/3d
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
..
3d_scene.rs
3d_shapes.rs
3d_viewport_to_world.rs
animated_material.rs
anisotropy.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
anti_aliasing.rs
atmospheric_fog.rs
auto_exposure.rs
blend_modes.rs
bloom_3d.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
clearcoat.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
color_grading.rs
deferred_rendering.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
depth_of_field.rs
fog_volumes.rs
fog.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
generate_custom_mesh.rs
irradiance_volumes.rs
lighting.rs
lightmaps.rs
lines.rs
load_gltf_extras.rs
load_gltf.rs
meshlet.rs
motion_blur.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
orthographic.rs
parallax_mapping.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
parenting.rs
pbr.rs
post_processing.rs
reflection_probes.rs
render_to_texture.rs
rotate_environment_map.rs
scrolling_fog.rs
shadow_biases.rs
shadow_caster_receiver.rs
skybox.rs
spherical_area_lights.rs
split_screen.rs
spotlight.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
ssao.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
ssr.rs
texture.rs
tonemapping.rs
transmission.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
transparency_3d.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
two_passes.rs
update_gltf_scene.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
vertex_colors.rs
visibility_range.rs
volumetric_fog.rs
wireframe.rs