bevy/crates/bevy_pbr/src/render
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
..
clustered_forward.wgsl Fix incorrect function calls to hsv_to_rgb in render debug code. (#14260) 2024-07-22 18:25:54 +00:00
fog.rs Rename rendering components for improved consistency and clarity (#15035) 2024-09-10 01:11:46 +00:00
fog.wgsl
forward_io.wgsl Add UV channel selection to StandardMaterial (#13200) 2024-05-13 18:23:09 +00:00
gpu_preprocess.rs Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
light.rs Fix floating point math (#15239) 2024-09-16 23:28:12 +00:00
mesh_bindings.rs Apply unused_qualifications lint (#14828) 2024-08-21 12:29:33 +00:00
mesh_bindings.wgsl
mesh_functions.wgsl Fix meshlet vertex attribute interpolation (#13775) 2024-06-10 20:18:43 +00:00
mesh_preprocess.wgsl Fix the example regressions from packed growable buffers. (#14375) 2024-07-22 18:55:51 +00:00
mesh_types.wgsl Fix the example regressions from packed growable buffers. (#14375) 2024-07-22 18:55:51 +00:00
mesh_view_bindings.rs Migrated NonZero* to NonZero<*> (#14978) 2024-08-30 02:37:47 +00:00
mesh_view_bindings.wgsl Add support for environment map transformation (#14290) 2024-07-19 15:00:50 +00:00
mesh_view_types.wgsl Rename rendering components for improved consistency and clarity (#15035) 2024-09-10 01:11:46 +00:00
mesh.rs Apply unused_qualifications lint (#14828) 2024-08-21 12:29:33 +00:00
mesh.wgsl Fix the example regressions from packed growable buffers. (#14375) 2024-07-22 18:55:51 +00:00
mod.rs Implement motion vectors and TAA for skinned meshes and meshes with morph targets. (#13572) 2024-05-31 17:02:28 +00:00
morph.rs Apply unused_qualifications lint (#14828) 2024-08-21 12:29:33 +00:00
morph.wgsl Implement motion vectors and TAA for skinned meshes and meshes with morph targets. (#13572) 2024-05-31 17:02:28 +00:00
parallax_mapping.wgsl Fix a few "repeated word" typos (#13955) 2024-06-20 21:35:20 +00:00
pbr_ambient.wgsl
pbr_bindings.wgsl Added feature switch to default Standard Material's new anisotropy texture to off (#14048) 2024-07-02 18:02:05 +00:00
pbr_fragment.wgsl Added feature switch to default Standard Material's new anisotropy texture to off (#14048) 2024-07-02 18:02:05 +00:00
pbr_functions.wgsl bevy_pbr: Make choosing of diffuse indirect lighting explicit. (#15093) 2024-09-09 16:11:16 +00:00
pbr_lighting.wgsl Rename "point light" to "clusterable object" in cluster contexts. (#13654) 2024-06-04 11:01:13 +00:00
pbr_prepass_functions.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
pbr_prepass.wgsl Remove unused mip_bias parameter from apply_normal_mapping (#13752) 2024-06-10 13:00:34 +00:00
pbr_transmission.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
pbr_types.wgsl Revert "Make FOG_ENABLED a shader_def instead of material flag (#13783)" (#13803) 2024-06-10 23:25:16 +00:00
pbr.wgsl
rgb9e5.wgsl
shadow_sampling.wgsl
shadows.wgsl Fix incorrect function calls to hsv_to_rgb in render debug code. (#14260) 2024-07-22 18:25:54 +00:00
skin.rs Apply unused_qualifications lint (#14828) 2024-08-21 12:29:33 +00:00
skinning.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
utils.wgsl
view_transformations.wgsl Normalise matrix naming (#13489) 2024-06-03 16:56:53 +00:00
wireframe.wgsl