Searched refs:spmod (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/display/
H A Dnr-light.cpp97 double spmod = (-1) * NR::scalar_product(L, S); local
98 if (spmod <= cos_lca)
99 spmod = 0;
101 spmod = std::pow(spmod, speExp);
102 lc[LIGHT_RED] = spmod * SP_RGBA32_R_U(color);
103 lc[LIGHT_GREEN] = spmod * SP_RGBA32_G_U(color);
104 lc[LIGHT_BLUE] = spmod * SP_RGBA32_B_U(color);

Completed in 43 milliseconds