Cycles: Code cleanup, spaces around keywords
[blender-staging.git] / intern / cycles / kernel / svm / svm_camera.h
index e03745cb331e51c225c597a96196e8b2b1ba58ef..90249dfd978d01963eba8464b6fcf0859349a5b7 100644 (file)
@@ -27,13 +27,13 @@ ccl_device void svm_node_camera(KernelGlobals *kg, ShaderData *sd, float *stack,
        zdepth = vector.z;
        distance = len(vector);
 
-       if (stack_valid(out_vector))
+       if(stack_valid(out_vector))
                stack_store_float3(stack, out_vector, normalize(vector));
 
-       if (stack_valid(out_zdepth))
+       if(stack_valid(out_zdepth))
                stack_store_float(stack, out_zdepth, zdepth);
 
-       if (stack_valid(out_distance))
+       if(stack_valid(out_distance))
                stack_store_float(stack, out_distance, distance);
 }