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

Method work

plugins/rendermax/renderer_light.cpp:1295–1303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1293}
1294
1295void lightThread::work()
1296{
1297 canvas.assign(canvas.size(),rgbf(0,0,0));
1298 for(int i=myRect.first.x;i<myRect.second.x;i++)
1299 for(int j=myRect.first.y;j<myRect.second.y;j++)
1300 {
1301 doLight(i,j);
1302 }
1303}
1304
1305void lightThread::combine()
1306{

Callers

nothing calls this directly

Calls 2

rgbfClass · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected