Libraryless. Click here for Pure Java version (7917L/44K).
static int rgbIntFromDoubles(dbl r, dbl g, dbl b) { ret limitToUByte(iround(r)) << 16 | limitToUByte(iround(g)) << 8 | limitToUByte(iround(b)); }
Began life as a copy of #1034886
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035296 | 
| Snippet name: | rgbIntFromDoubles | 
| Eternal ID of this version: | #1035296/1 | 
| Text MD5: | b03ad6c82d33da0ae0ab9130f746c070 | 
| Transpilation MD5: | 79530ac559dcfeeab08ebcbe9046b7f0 | 
| Author: | stefan | 
| Category: | javax / imaging | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-04-29 03:15:38 | 
| Source code size: | 160 bytes / 5 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 339 / 428 | 
| Referenced in: | [show references] |