Transpiled version (5114L) is out of date.
1 | static int rgbIntFromDoubles_fullAlpha(dbl r, dbl g, dbl b) { |
2 | ret 0xFF000000 | |
3 | limitToUByte(iround(r)) << 16 | |
4 | limitToUByte(iround(g)) << 8 | |
5 | limitToUByte(iround(b)); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034886 |
Snippet name: | rgbIntFromDoubles_fullAlpha |
Eternal ID of this version: | #1034886/4 |
Text MD5: | b7c607d54a75078b90d1a5748eb6cf14 |
Author: | stefan |
Category: | javax / imaging |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-13 02:00:41 |
Source code size: | 188 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 141 / 202 |
Version history: | 3 change(s) |
Referenced in: | [show references] |