MCPcopy Create free account
hub / github.com/DFHack/dfhack / blend

Function blend

plugins/rendermax/renderer_light.cpp:263–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

261 return rgbf(std::max(a.r,b.r),std::max(a.g,b.g),std::max(a.b,b.b));
262}
263rgbf blend(const rgbf& a,const rgbf& b)
264{
265 return blendMax(a,b);
266}
267void lightingEngineViewscreen::clear()
268{
269 lightMap.assign(lightMap.size(),rgbf(1,1,1));

Callers 1

combineMethod · 0.85

Calls 1

blendMaxFunction · 0.85

Tested by

no test coverage detected