Searched defs:rho (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/
H A Ddevice.c1783 float rho; local
1910 rho = light->theta + (light->phi - light->theta) / (2 * light->falloff);
1911 if (rho < 0.0001f)
1912 rho = 0.0001f;
1914 object->exponent = -0.3f / log(cos(rho / 2));
1916 object->exponent = -0.3f / logf(cosf(rho / 2));
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Ddevice.c2349 float rho; local
2469 rho = pLight->Theta + (pLight->Phi - pLight->Theta)/(2*pLight->Falloff);
2470 if (rho < 0.0001f) rho = 0.0001f;
2471 object->exponent = -0.3f/log(cos(rho/2));

Completed in 80 milliseconds