From 12ff8890ed394c70002c69dea1a1b2383bfaf3d4 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Sat, 16 Dec 2023 23:03:06 -0800 Subject: [PATCH] TOML and `check-doc` police --- crates/bevy_internal/Cargo.toml | 5 ++++- crates/bevy_pbr/src/light_probe/mod.rs | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/crates/bevy_internal/Cargo.toml b/crates/bevy_internal/Cargo.toml index c5e3b90dee4ce..3091baff93738 100644 --- a/crates/bevy_internal/Cargo.toml +++ b/crates/bevy_internal/Cargo.toml @@ -58,7 +58,10 @@ symphonia-vorbis = ["bevy_audio/symphonia-vorbis"] symphonia-wav = ["bevy_audio/symphonia-wav"] # Shader formats -shader_format_glsl = ["bevy_render/shader_format_glsl", "bevy_pbr?/shader_format_glsl"] +shader_format_glsl = [ + "bevy_render/shader_format_glsl", + "bevy_pbr?/shader_format_glsl", +] shader_format_spirv = ["bevy_render/shader_format_spirv"] serialize = [ diff --git a/crates/bevy_pbr/src/light_probe/mod.rs b/crates/bevy_pbr/src/light_probe/mod.rs index 3cc8534d83a94..4ca33dd3acd5d 100644 --- a/crates/bevy_pbr/src/light_probe/mod.rs +++ b/crates/bevy_pbr/src/light_probe/mod.rs @@ -49,9 +49,9 @@ pub struct LightProbePlugin; /// A cuboid region that provides global illumination to all fragments inside it. /// /// The light probe range is conceptually a unit cube (1×1×1) centered on the -/// origin. The [`Transform`] applied to this entity can scale, rotate, or -/// translate that cube so that it contains all fragments that should take this -/// light probe into account. +/// origin. The [`bevy_transform::prelude::Transform`] applied to this entity +/// can scale, rotate, or translate that cube so that it contains all fragments +/// that should take this light probe into account. /// /// Note that a light probe will have no effect unless the entity contains some /// kind of illumination. At present, the only supported type of illumination is @@ -155,7 +155,8 @@ impl Plugin for LightProbePlugin { /// Gathers up all light probes in the scene and assigns them to views, /// performing frustum culling and distance sorting in the process. /// -/// This populates the [`LightProbesUniforms`] resource. +/// This populates the +/// [`crate::light_probe::environment_map::LightProbesUniforms`] resource. fn gather_light_probes( mut light_probes_uniforms: ResMut, image_assets: Res>,