/usr/lib/scilab-plotlib/macros/diffuse.sci is in scilab-plotlib 0.42-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | function d=diffuse(nx,ny,nz,lightVect)
[ly,lx]=size(nx);
d=computeLight([nx(:)';ny(:)';nz(:)'],lightVect);
d=matrix(d,ly,lx);
endfunction
|