Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MultiMC/Launcher
/ gamma
Method
gamma
libraries/rainbow/src/rainbow.cpp:201–204 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
199
200
private:
201
static qreal gamma(qreal n)
202
{
203
return pow(normalize(n), 2.2);
204
}
205
static qreal igamma(qreal n)
206
{
207
return pow(normalize(n), 1.0 / 2.2);
Callers
nothing calls this directly
Calls
1
normalize
Function · 0.85
Tested by
no test coverage detected