Cycles: Code cleanup, spaces around keywords
[blender-staging.git] / intern / cycles / kernel / svm / svm_vector_transform.h
index a16786f3ed3757c8e0c32f702e15da2a6bf681f3..4e92f27acdb9910c727f3accd584ae2f296f934c 100644 (file)
@@ -45,7 +45,7 @@ ccl_device void svm_node_vector_transform(KernelGlobals *kg, ShaderData *sd, flo
                        else
                                in = transform_point(&tfm, in);
                }
-               else if (to == NODE_VECTOR_TRANSFORM_CONVERT_SPACE_OBJECT && is_object) {
+               else if(to == NODE_VECTOR_TRANSFORM_CONVERT_SPACE_OBJECT && is_object) {
                        if(is_direction)
                                object_inverse_dir_transform(kg, sd, &in);
                        else
@@ -54,7 +54,7 @@ ccl_device void svm_node_vector_transform(KernelGlobals *kg, ShaderData *sd, flo
        }
        
        /* From camera */
-       else if (from == NODE_VECTOR_TRANSFORM_CONVERT_SPACE_CAMERA) {
+       else if(from == NODE_VECTOR_TRANSFORM_CONVERT_SPACE_CAMERA) {
                if(to == NODE_VECTOR_TRANSFORM_CONVERT_SPACE_WORLD || to == NODE_VECTOR_TRANSFORM_CONVERT_SPACE_OBJECT) {
                        tfm = kernel_data.cam.cameratoworld;
                        if(is_direction)