1 | static float colorDiff(Color a, Color b) { |
2 | //ret rgbDiff(RGB(a), RGB(b)); |
3 | ret rgbDiff(a.getRGB(), b.getRGB()); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020251 |
Snippet name: | colorDiff - distance between two colors (0 to 1) |
Eternal ID of this version: | #1020251/3 |
Text MD5: | db7497c6b5c50fa207a36f1830f6a422 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-08-18 13:01:37 |
Source code size: | 119 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 280 / 339 |
Version history: | 2 change(s) |
Referenced in: | [show references] |