Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ toRgb
Method
toRgb
source/core/StarColor.cpp:318–320 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
316
}
317
318
Vec3B Color::toRgb() const {
319
return Vec3B(red(), green(), blue());
320
}
321
322
Vec4F Color::toRgbaF() const {
323
return Vec4F(redF(), greenF(), blueF(), alphaF());
Callers
10
previewTiles
Method · 0.80
previewTiles
Method · 0.80
main
Function · 0.80
main
Function · 0.80
FadeToColorImageOperation
Method · 0.80
imageOperationFromString
Function · 0.80
calculate
Method · 0.80
renderParallaxLayers
Method · 0.80
drawRays
Method · 0.80
drawRay
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected