mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
46e8c6b662
# Objective - Wireframe plugins have inconsistencies between 3D and 2D versions. This PR addresses the following - 2d version uses `Srgba` for colors, 3d version uses `Color`. ## Solution - This PR brings consistency by doing the following change - `Wireframe2d` now uses `Color` instead of `Srgba` ## Testing - `wireframe_2d` and `wireframe` examples were verified and they work as before. --- ## Migration Guide - `Wireframe2dConfig`.`default_color` type is now `Color` instead of `Srgba`. Use `.into()` to convert between them. - `Wireframe2dColor`.`color` type is now `Color` instead of `Srgba`. Use `.into()` to convert between them. |
||
---|---|---|
.. | ||
2d_shapes.rs | ||
2d_viewport_to_world.rs | ||
bloom_2d.rs | ||
bounding_2d.rs | ||
custom_gltf_vertex_attribute.rs | ||
mesh2d.rs | ||
mesh2d_alpha_mode.rs | ||
mesh2d_arcs.rs | ||
mesh2d_manual.rs | ||
mesh2d_vertex_color_texture.rs | ||
move_sprite.rs | ||
pixel_grid_snap.rs | ||
rotation.rs | ||
sprite.rs | ||
sprite_animation.rs | ||
sprite_flipping.rs | ||
sprite_sheet.rs | ||
sprite_slice.rs | ||
sprite_tile.rs | ||
text2d.rs | ||
texture_atlas.rs | ||
transparency_2d.rs | ||
wireframe_2d.rs |