Lines Matching refs:light
469 light_t& light = c->lighting.lights[i-GL_LIGHT0]; in lightx() local
477 light.spotExp = param; in lightx()
484 light.spotCutoff = param; in lightx()
485 light.spotCutoffCosine = in lightx()
493 light.attenuation[0] = param; in lightx()
500 light.attenuation[1] = param; in lightx()
507 light.attenuation[2] = param; in lightx()
524 light_t& light = c->lighting.lights[i-GL_LIGHT0]; in lightxv() local
527 what = light.ambient.v; in lightxv()
530 what = light.diffuse.v; in lightxv()
533 what = light.specular.v; in lightxv()
538 mv.point4(&mv, &light.position, reinterpret_cast<vec4_t const*>(params)); in lightxv()
546 mvui.point3(&mvui, &light.spotDir, reinterpret_cast<vec4_t const*>(params)); in lightxv()
548 light.spotDir = *reinterpret_cast<vec4_t const*>(params); in lightxv()
550 vnorm3(light.normalizedSpotDir.v, light.spotDir.v); in lightxv()