MCPcopy 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
318Vec3B Color::toRgb() const {
319 return Vec3B(red(), green(), blue());
320}
321
322Vec4F Color::toRgbaF() const {
323 return Vec4F(redF(), greenF(), blueF(), alphaF());

Callers 10

previewTilesMethod · 0.80
previewTilesMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
imageOperationFromStringFunction · 0.80
calculateMethod · 0.80
renderParallaxLayersMethod · 0.80
drawRaysMethod · 0.80
drawRayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected