Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Aug 13, 2024
1 parent 1e3df9e commit f877cbd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions palette/src/cvd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ pub mod simulation;
/// efficiency and accuracy with extreme values.
pub type ProtanopiaSimul<S = Vienot1999, M = SmithPokorny> = DichromacySimul<Protan, S, M>;

/// Simulator for deutanopia, a form of dichromacy correlated to a missing or
/// Simulator for deuteranopia, a form of dichromacy correlated to a missing or
/// non-functional medium (green) cone.
///
/// By default this uses the [`Vienot1999`] simulation method for the sake of
/// efficiency and accuracy with extreme values.
pub type DeutanopiaSimul<S = Vienot1999, M = SmithPokorny> = DichromacySimul<Deutan, S, M>;
pub type DeuteranopiaSimul<S = Vienot1999, M = SmithPokorny> = DichromacySimul<Deutan, S, M>;

/// Simulator for tritanopia, a form of dichromacy correlated to a missing or
/// non-functional short (blue) cone.
Expand All @@ -37,12 +37,12 @@ pub type TritanopiaSimul<S = Brettel1997, M = SmithPokorny> = DichromacySimul<Tr
pub type ProtanomalySimul<S = Vienot1999, M = SmithPokorny> =
AnomalousTrichromacySimul<Protan, S, M>;

/// Simulator for deutanomaly, a form of anomalous trichromacy correlated to an
/// Simulator for deuteranomaly, a form of anomalous trichromacy correlated to an
/// anomalous medium (green) cone.
///
/// The current default implementation uses linear interpolation, which is not
/// ideal, so this default implementation may change in the future.
pub type DeutanomalySimul<S = Vienot1999, M = SmithPokorny> =
pub type DeuteranomalySimul<S = Vienot1999, M = SmithPokorny> =
AnomalousTrichromacySimul<Deutan, S, M>;

/// Simulator for tritanomaly, a form of anomalous trichromacy correlated to an
Expand Down

0 comments on commit f877cbd

Please sign in to comment.