Skip to content

Commit

Permalink
add default direction to DirectionalLight docs (bevyengine#5188)
Browse files Browse the repository at this point in the history
# Objective

- Adds a default direction to the documentation of DirectionalLight 

## Solution

Suggestion from Q&A answer: 
bevyengine#5186 (reply in thread)
  • Loading branch information
strattonbrazil authored and ItsDoot committed Feb 1, 2023
1 parent 194ca21 commit b6c2a6a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/bevy_pbr/src/light.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ impl Default for SpotLight {
/// approximation for light sources VERY far away, like the sun or
/// the moon.
///
/// The light shines along the forward direction of the entity's transform. With a default transform
/// this would be along the negative-Z axis.
///
/// Valid values for `illuminance` are:
///
/// | Illuminance (lux) | Surfaces illuminated by |
Expand Down

0 comments on commit b6c2a6a

Please sign in to comment.