use tree
syntax to explain bevy_rock file structure (#10523)
# Objective The current way it's written is just kinda hard to read  ## Solution the box-drawing characters stolen from `tree`  --- would've added this to my previous PR but i woke up this morning and it was merged
This commit is contained in:
parent
39c8998257
commit
bf4f4e42da
@ -131,13 +131,15 @@ macro_rules! embedded_path {
|
||||
/// For example, consider the following file structure in the theoretical `bevy_rock` crate, which provides a Bevy [`Plugin`](bevy_app::Plugin)
|
||||
/// that renders fancy rocks for scenes.
|
||||
///
|
||||
/// * `bevy_rock`
|
||||
/// * `src`
|
||||
/// * `render`
|
||||
/// * `rock.wgsl`
|
||||
/// * `mod.rs`
|
||||
/// * `lib.rs`
|
||||
/// * `Cargo.toml`
|
||||
/// ```text
|
||||
/// bevy_rock
|
||||
/// ├── src
|
||||
/// │ ├── render
|
||||
/// │ │ ├── rock.wgsl
|
||||
/// │ │ └── mod.rs
|
||||
/// │ └── lib.rs
|
||||
/// └── Cargo.toml
|
||||
/// ```
|
||||
///
|
||||
/// `rock.wgsl` is a WGSL shader asset that the `bevy_rock` plugin author wants to bundle with their crate. They invoke the following
|
||||
/// in `bevy_rock/src/render/mod.rs`:
|
||||
|
Loading…
Reference in New Issue
Block a user