Libraryless. Click here for Pure Java version (8014L/45K).
static int zeroToOneToZeroTo255(double brightness) { ret iround(brightness*255.0); }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035421 |
Snippet name: | zeroToOneToZeroTo255 |
Eternal ID of this version: | #1035421/2 |
Text MD5: | 66d77290d9ac89ac1a52e81c3b0d0fb9 |
Transpilation MD5: | cea28e1e79143037d6fe4565688b0cb2 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-05-07 01:40:28 |
Source code size: | 88 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 116 / 184 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |