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

Method doRay

plugins/rendermax/renderer_light.cpp:1360–1364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1358 return rgbf();
1359}
1360void lightThread::doRay(const rgbf& power,int cx,int cy,int tx,int ty,int num_diffuse)
1361{
1362 using namespace std::placeholders;
1363 plotLineDiffuse(cx,cy,tx,ty,power,num_diffuse,std::bind(&lightThread::lightUpCell,this,_1,_2,_3,_4,_5));
1364}
1365
1366void lightThread::doLight( int x,int y )
1367{

Callers

nothing calls this directly

Calls 1

plotLineDiffuseFunction · 0.85

Tested by

no test coverage detected