// brightness: 0 to 255 static int rgbIntFromBrightness(int brightness) { ret rgbIntFromGrayscale(brightness); } // brightness: 0 to 1 static int rgbIntFromBrightness(double brightness) { ret rgbIntFromGrayscale(brightness); }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035477 |
| Snippet name: | rgbIntFromBrightness - synonym of rgbIntFromGrayscale |
| Eternal ID of this version: | #1035477/1 |
| Text MD5: | ea1177ee8d6271d2324ef9388605287c |
| Author: | someone |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-05-22 22:02:33 |
| Source code size: | 237 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 359 / 350 |
| Referenced in: | [show references] |