Libraryless. Click here for Pure Java version (60L/1K).
1 | static short hi15_clamp(int r, int g, int b) {
|
2 | ret hi15( |
3 | clamp(r, 0, 31), |
4 | clamp(g, 0, 31), |
5 | clamp(b, 0, 31)); |
6 | } |
Began life as a copy of #1035928
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1035929 |
| Snippet name: | hi15_clamp |
| Eternal ID of this version: | #1035929/1 |
| Text MD5: | 07ab4bdbc226455745b3d9ba9818340a |
| Transpilation MD5: | 23dab02b1512f9cc2c990cd4c24cba71 |
| Author: | stefan |
| Category: | javax / imaging |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-08-14 20:43:14 |
| Source code size: | 129 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 356 / 454 |
| Referenced in: | [show references] |