From 2b0a05cbb85a75198f636031ef6053c03d8aeba6 Mon Sep 17 00:00:00 2001 From: Design_Dream <32071499+chendaohan@users.noreply.github.com> Date: Sat, 14 Jun 2025 03:31:09 +0800 Subject: [PATCH] Fix incorrect description of ClusteredDecal (#19630) The documentation states that ClusteredDecal projects in the +Z direction, but in practice, it projects in the -Z direction, which can be confusing. # Objective Fixes #19612 --- crates/bevy_pbr/src/decal/clustered.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_pbr/src/decal/clustered.rs b/crates/bevy_pbr/src/decal/clustered.rs index dd77d2088d..5618b31831 100644 --- a/crates/bevy_pbr/src/decal/clustered.rs +++ b/crates/bevy_pbr/src/decal/clustered.rs @@ -69,7 +69,7 @@ pub struct ClusteredDecalPlugin; /// An object that projects a decal onto surfaces within its bounds. /// /// Conceptually, a clustered decal is a 1×1×1 cube centered on its origin. It -/// projects the given [`Self::image`] onto surfaces in the +Z direction (thus +/// projects the given [`Self::image`] onto surfaces in the -Z direction (thus /// you may find [`Transform::looking_at`] useful). /// /// Clustered decals are the highest-quality types of decals that Bevy supports,