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

@@ -782,10 +782,10 @@ ccl_device_inline bool bvh_curve_intersect(KernelGlobals *kg, Intersection *isec
}
float z = zcentre + (dirz * correction);
bool backface = false;
// bool backface = false;
if(flags & CURVE_KN_BACKFACING && (t < 0.0f || z < 0 || z > l)) {
backface = true;
// backface = true;
correction = ((-tb + rootd)/(2*a));
t = tcentre + correction;
z = zcentre + (dirz * correction);