bevy/examples/shader
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
..
animate_shader.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
array_texture.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
compute_shader_game_of_life.rs Handle wgsl errors in the game of life example (#13624) 2024-06-03 13:31:56 +00:00
custom_phase_item.rs Apply unused_qualifications lint (#14828) 2024-08-21 12:29:33 +00:00
custom_post_processing.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
custom_vertex_attribute.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
extended_material.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
fallback_image.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
gpu_readback.rs Apply unused_qualifications lint (#14828) 2024-08-21 12:29:33 +00:00
shader_defs.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_instancing.rs Fix mesh 2d non indexed draw. (#15155) 2024-09-12 12:38:56 +00:00
shader_material.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_material_2d.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_material_glsl.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_material_screenspace_texture.rs Highlight dependency on shader files in examples (#13824) 2024-06-12 14:16:01 +00:00
shader_prepass.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
specialized_mesh_pipeline.rs Add example showing how to use SpecializedMeshPipeline (#14370) 2024-07-31 18:24:58 +00:00
storage_buffer.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
texture_binding_array.rs Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00