Lines Matching refs:lc
38 void DistantLight::light_components(NR::Fvector &lc) {
39 lc[LIGHT_RED] = SP_RGBA32_R_U(color);
40 lc[LIGHT_GREEN] = SP_RGBA32_G_U(color);
41 lc[LIGHT_BLUE] = SP_RGBA32_B_U(color);
61 void PointLight::light_components(NR::Fvector &lc) {
62 lc[LIGHT_RED] = SP_RGBA32_R_U(color);
63 lc[LIGHT_GREEN] = SP_RGBA32_G_U(color);
64 lc[LIGHT_BLUE] = SP_RGBA32_B_U(color);
96 void SpotLight::light_components(NR::Fvector &lc, const NR::Fvector &L) {
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);