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
This commit is contained in:
Design_Dream 2025-06-14 03:31:09 +08:00 committed by GitHub
parent a292ac539e
commit 2b0a05cbb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,