Cycles: Code cleanup, spaces around keywords
[blender-staging.git] / intern / cycles / util / util_math.h
index a4d49681a385aded82c99b83938c11e98dcd475e..6208608a233268db962b6924f1a445382cb86bc6 100644 (file)
@@ -1461,7 +1461,7 @@ ccl_device_inline float2 map_to_tube(const float3 co)
 {
        float len, u, v;
        len = sqrtf(co.x * co.x + co.y * co.y);
-       if (len > 0.0f) {
+       if(len > 0.0f) {
                u = (1.0f - (atan2f(co.x / len, co.y / len) / M_PI_F)) * 0.5f;
                v = (co.x + 1.0f) * 0.5f;
        }