Skip to content

Commit

Permalink
Suppress excessive precision warning for CIE XYZ CMF values
Browse files Browse the repository at this point in the history
  • Loading branch information
coreh committed Aug 20, 2024
1 parent 1c0c299 commit ef6d711
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/bevy_color/src/spectral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ impl SpectralColor {
/// (For interpolation to zero.)
///
/// Source: <http://cvrl.ioo.ucl.ac.uk/plotcmfs.php>
#[allow(clippy::excessive_precision)]
const CIE_1931_XYZ_CMF_LOOKUP_TABLE: [[f32; 3]; 97] = [
[0.000000000000, 0.000000000000, 0.000000000000], // Sentinel value
[0.000129900000, 0.000003917000, 0.000606100000], // 360 nm
Expand Down

0 comments on commit ef6d711

Please sign in to comment.