Code cleanup: style, unused import

This commit is contained in:
Campbell Barton
2014-04-27 23:57:40 +10:00
parent d7d2e71a03
commit a2489e29f6
6 changed files with 8 additions and 8 deletions

View File

@@ -23,7 +23,7 @@ shader node_fresnel(
output float Fac = 0.0)
{
float f = max(IOR, 1e-5);
float eta = backfacing() ? 1.0 / f: f;
float eta = backfacing() ? 1.0 / f : f;
float cosi = dot(I, Normal);
Fac = fresnel_dielectric_cos(cosi, eta);
}