Skip to content

Commit dbdf25e

Browse files
committed
fix docs
1 parent 9827f42 commit dbdf25e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/bevy_pbr/src/medium.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ pub enum PhaseFunction {
294294
/// Rayleigh scattering occurs naturally for particles much smaller than
295295
/// the wavelengths of visible light, such as gas molecules in the atmosphere.
296296
/// It's generally wavelength-dependent, where shorter wavelengths are scattered
297-
/// more strongly, so [scattering](ScatteringMedium::scattering) should have
297+
/// more strongly, so [scattering](ScatteringTerm::scattering) should have
298298
/// higher values for blue than green and green than red. Particles that
299299
/// participate in Rayleigh scattering don't absorb any light, either.
300300
///
@@ -306,8 +306,8 @@ pub enum PhaseFunction {
306306
/// Mie scattering occurs naturally for spherical particles of dust
307307
/// and aerosols roughly the same size as the wavelengths of visible light,
308308
/// so it's useful for representing dust or sea spray. It's generally
309-
/// wavelength-independent, so [absorption](ScatteringMedium::absorption)
310-
/// and [scattering](ScatteringMedium::scattering) should be set to a greyscale value.
309+
/// wavelength-independent, so [absorption](ScatteringTerm::absorption)
310+
/// and [scattering](ScatteringTerm::scattering) should be set to a greyscale value.
311311
///
312312
/// [Mie scattering]: https://en.wikipedia.org/wiki/Mie_scattering
313313
/// [Henyey-Greenstein phase function]: https://www.oceanopticsbook.info/view/scattering/level-2/the-henyey-greenstein-phase-function

0 commit comments

Comments
 (0)