glLightf(l, GL_CONSTANT_ATTENUATION, attenuation[0]);
glLightf(l, GL_LINEAR_ATTENUATION, attenuation[1]);
glLightf(l, GL_QUADRATIC_ATTENUATION, attenuation[2]);
glLightf(l, GL_CONSTANT_ATTENUATION, attenuation[0]);
glLightf(l, GL_LINEAR_ATTENUATION, attenuation[1]);
glLightf(l, GL_QUADRATIC_ATTENUATION, attenuation[2]);