static RGB rgbFromInt(int rgb) { ret RGB( ((rgb >> 16) & 0xFF)/255f, ((rgb >> 8) & 0xFF)/255f, (rgb & 0xFF)/255f); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1024555 |
| Snippet name: | rgbFromInt |
| Eternal ID of this version: | #1024555/1 |
| Text MD5: | 7c5de63369bae08eb3a0069dba9e4dbc |
| 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:07:41 |
| Source code size: | 138 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 405 / 469 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1024557 - rgbFromInts |