bevy/crates/bevy_image/src
andriyDev 2fbad7d845
Fix off-by-one error on Image::get_color_at and Image::set_color_at. (#16475)
# Objective

- Fixes #16474.

## Solution

- Check that the pixel x,y,z is less than width,height,depth.
    - Classic off-by-one.

## Testing

- Added a test.
2024-11-22 18:14:53 +00:00
..
basis.rs Split off bevy_image from bevy_render (#15650) 2024-10-04 20:16:47 +00:00
compressed_image_saver.rs Move ImageLoader and CompressedImageSaver to bevy_image. (#15812) 2024-10-15 02:18:10 +00:00
dds.rs Return Error instead of panicking when reading invalid dds file (#16283) 2024-11-08 21:55:34 +00:00
exr_texture_loader.rs Remove thiserror from bevy_image (#15771) 2024-10-09 14:23:53 +00:00
hdr_texture_loader.rs Remove thiserror from bevy_image (#15771) 2024-10-09 14:23:53 +00:00
image.rs Fix off-by-one error on Image::get_color_at and Image::set_color_at. (#16475) 2024-11-22 18:14:53 +00:00
image_loader.rs Remove AVIF feature (#15973) 2024-10-17 19:47:28 +00:00
image_texture_conversion.rs Use en-us locale for typos (#16037) 2024-10-20 18:55:17 +00:00
ktx2.rs Upgrade to wgpu 23 (#15988) 2024-11-05 21:18:48 +00:00
lib.rs Don't reëxport bevy_image from bevy_render (#16163) 2024-11-10 06:54:38 +00:00