Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1035929 // hi15_clamp

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (60L/1K).

static short hi15_clamp(int r, int g, int b) {
  ret hi15(
    clamp(r, 0, 31),
    clamp(g, 0, 31),
    clamp(b, 0, 31));
}

Author comment

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: 130 / 184
Referenced in: [show references]