Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carbonengine/trinity
/ GetAutoSelectedColor
Function
GetAutoSelectedColor
trinity/Tr2DebugRenderer.cpp:59–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
}
58
59
uint32_t GetAutoSelectedColor( uint32_t color )
60
{
61
auto c = Color( color );
62
c.r = std::min( 1.f, c.r + 0.7f );
63
c.g = std::min( 1.f, c.g + 0.7f );
64
c.b = std::min( 1.f, c.b + 0.7f );
65
return c;
66
}
67
68
}
69
Callers
1
Tr2DebugColor
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected