static RGB fixRGB(RGB rgb) { ret rgb == null ? null : RGB(limitBetween0and1(rgb.r), limitBetween0and1(rgb.g), limitBetween0and1(rgb.b)); } static RGB fixRGB(float r, float g, float b) { ret RGB(limitBetween0and1(r), limitBetween0and1(g), limitBetween0and1(b)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1015022 | 
| Snippet name: | fixRGB | 
| Eternal ID of this version: | #1015022/2 | 
| Text MD5: | c1e50b1051941feb4eee301bcd31cef6 | 
| Author: | stefan | 
| Category: | javax / imaging | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2018-05-07 01:24:47 | 
| Source code size: | 273 bytes / 7 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 542 / 586 | 
| Version history: | 1 change(s) | 
| Referenced in: | [show references] |