Annote the map key colors in the comments
Check, lint and test using Cargo / Check, lint and test (push) Successful in 5m42s Details

This commit is contained in:
Paul van Tilburg 2023-05-26 20:44:24 +02:00
parent 9bb9d248a8
commit 9742331f6d
Signed by: paul
GPG Key ID: C6DE073EDA9EEC4D
1 changed files with 10 additions and 10 deletions

View File

@ -78,16 +78,16 @@ type MapKeyHistogram = HashMap<Rgb<u8>, u32>;
/// Note that the actual score starts from 1, not 0 as per this array. /// Note that the actual score starts from 1, not 0 as per this array.
#[rustfmt::skip] #[rustfmt::skip]
const MAP_KEY: [[u8; 3]; 10] = [ const MAP_KEY: [[u8; 3]; 10] = [
[0x49, 0xDA, 0x21], [0x49, 0xDA, 0x21], // #49DA21
[0x30, 0xD2, 0x00], [0x30, 0xD2, 0x00], // #30D200
[0xFF, 0xF8, 0x8B], [0xFF, 0xF8, 0x8B], // #FFF88B
[0xFF, 0xF6, 0x42], [0xFF, 0xF6, 0x42], // #FFF642
[0xFD, 0xBB, 0x31], [0xFD, 0xBB, 0x31], // #FDBB31
[0xFD, 0x8E, 0x24], [0xFD, 0x8E, 0x24], // #FD8E24
[0xFC, 0x10, 0x3E], [0xFC, 0x10, 0x3E], // #FC103E
[0x97, 0x0A, 0x33], [0x97, 0x0A, 0x33], // #970A33
[0xA6, 0x6D, 0xBC], [0xA6, 0x6D, 0xBC], // #A66DBC
[0xB3, 0x30, 0xA1], [0xB3, 0x30, 0xA1], // #B330A1
]; ];
/// The Buienradar map sample size. /// The Buienradar map sample size.