X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FConvert%2FColor%2FXYZ.pm;h=87ea7f0d1166ed2b19a43d9e9e9849ebf6460ac3;hb=a17d2402f10384cb86b2b33118be1b0c2eb47024;hp=73d5eabe69621bf26d3ce2f4173b63584385b839;hpb=1f72b051c754be821a14b94b1828d71e40631de3;p=convert-color-husl.git diff --git a/lib/Convert/Color/XYZ.pm b/lib/Convert/Color/XYZ.pm index 73d5eab..87ea7f0 100644 --- a/lib/Convert/Color/XYZ.pm +++ b/lib/Convert/Color/XYZ.pm @@ -1,6 +1,6 @@ package Convert::Color::XYZ; -use 5.014000; +use 5.008009; use strict; use warnings; use parent qw/Convert::Color/; @@ -8,16 +8,16 @@ use parent qw/Convert::Color/; use Convert::Color::RGB; use List::Util qw/sum/; -our $VERSION = '0.001'; +our $VERSION = '1.000'; use constant +{ ## no critic (Capitalization) - MAT_R => [ 3.240969941904521, -1.537383177570093, -0.498610760293 ], - MAT_G => [ -0.96924363628087, 1.87596750150772, 0.041555057407175 ], - MAT_B => [ 0.055630079696993, -0.20397695888897, 1.056971514242878 ], + MAT_R => [ 3.2409699419045214, -1.5373831775700935, -0.49861076029300328 ], + MAT_G => [ -0.96924363628087983, 1.8759675015077207, 0.041555057407175613 ], + MAT_B => [ 0.055630079696993609, -0.20397695888897657, 1.0569715142428786 ], - IMAT_X => [ 0.41239079926595, 0.35758433938387, 0.18048078840183 ], - IMAT_Y => [ 0.21263900587151, 0.71516867876775, 0.072192315360733 ], - IMAT_Z => [ 0.019330818715591, 0.11919477979462, 0.95053215224966 ], + IMAT_X => [ 0.41239079926595948, 0.35758433938387796, 0.18048078840183429 ], + IMAT_Y => [ 0.21263900587151036, 0.71516867876775593, 0.072192315360733715 ], + IMAT_Z => [ 0.019330818715591851, 0.11919477979462599, 0.95053215224966058 ], }; __PACKAGE__->register_color_space('xyz');