bevy/crates
Sélène Amanita 1f4b2816b8 Improve Mesh documentation (#9061)
# Objective

This PR continues https://github.com/bevyengine/bevy/pull/8885

It aims to improve the `Mesh` documentation in the following ways:
- Put everything at the "top level" instead of the "impl".
- Explain better what is a Mesh, how it can be created, and that it can
be edited.
- Explain it can be used with a `Material`, and mention
`StandardMaterial`, `PbrBundle`, `ColorMaterial`, and
`ColorMesh2dBundle` since those cover most cases
- Mention the glTF/Bevy vocabulary discrepancy for "Mesh"
- Add an image for the example
- Various nitpicky modifications

## Note

- The image I added is 90.3ko which I think is small enough?
- Since rustdoc doesn't allow cross-reference not in dependencies of a
subcrate [yet](https://github.com/rust-lang/rust/issues/74481), I have a
lot of backtick references that are not links :(
- Since rustdoc doesn't allow linking to code in the crate (?) I put
link to github directly.
- Since rustdoc doesn't allow embed images in doc
[yet](https://github.com/rust-lang/rust/issues/32104), maybe
[soon](https://github.com/rust-lang/rfcs/pull/3397), I had to put only a
link to the image. I don't think it's worth adding
[embed_doc_image](https://docs.rs/embed-doc-image/latest/embed_doc_image/)
as a dependency for this.
2023-08-09 18:04:04 -07:00
..
bevy_a11y Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_animation Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_app Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_asset Improve Mesh documentation (#9061) 2023-08-09 18:04:04 -07:00
bevy_audio Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_core Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_core_pipeline Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_derive Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_diagnostic Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_dylib Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_dynamic_plugin Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_ecs Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_ecs_compile_fail_tests Resolve clippy issues for rust 1.70.0 (#8738) 2023-06-01 21:05:05 +00:00
bevy_encase_derive Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_gilrs Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_gizmos gizmo plugin lag bugfix (#9166) 2023-08-09 18:02:31 -07:00
bevy_gltf Improve Mesh documentation (#9061) 2023-08-09 18:04:04 -07:00
bevy_hierarchy Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_input Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_internal Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_log Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_macro_utils Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_macros_compile_fail_tests bevy_derive: Add #[deref] attribute (#8552) 2023-05-16 18:29:09 +00:00
bevy_math Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_mikktspace Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_pbr Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_ptr Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_reflect Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_reflect_compile_fail_tests bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
bevy_render Improve Mesh documentation (#9061) 2023-08-09 18:04:04 -07:00
bevy_scene Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_sprite Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_tasks Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_text Fix for vertical text bounds and alignment (#9133) 2023-08-09 18:00:58 -07:00
bevy_time Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_transform Update GlobalTransform on insertion (#9081) 2023-08-09 18:00:29 -07:00
bevy_ui UI extraction order fix (#9099) 2023-08-09 18:03:08 -07:00
bevy_utils Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00
bevy_window improve documentation relating to WindowPlugin and Window (#9173) 2023-08-09 18:03:48 -07:00
bevy_winit Release 0.11.0 (#9080) 2023-07-09 08:43:47 +00:00