Cleanup: clang-format
authorCampbell Barton <ideasman42@gmail.com>
Fri, 14 Feb 2020 23:37:08 +0000 (10:37 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 14 Feb 2020 23:40:41 +0000 (10:40 +1100)
intern/cycles/kernel/svm/svm_math_util.h
source/blender/blenloader/intern/versioning_280.c

index 8b431b54eea1857f9432f5a2e67bd88d95693daa..d1e1fa87e53f09844986923fb8cb277eb009de22 100644 (file)
 
 CCL_NAMESPACE_BEGIN
 
-ccl_device void svm_vector_math(
-    float *value, float3 *vector, NodeVectorMathType type, float3 a, float3 b, float3 c, float scale)
+ccl_device void svm_vector_math(float *value,
+                                float3 *vector,
+                                NodeVectorMathType type,
+                                float3 a,
+                                float3 b,
+                                float3 c,
+                                float scale)
 {
   switch (type) {
     case NODE_VECTOR_MATH_ADD:
@@ -69,8 +74,7 @@ ccl_device void svm_vector_math(
       *vector = make_float3(safe_modulo(a.x, b.x), safe_modulo(a.y, b.y), safe_modulo(a.z, b.z));
       break;
     case NODE_VECTOR_MATH_WRAP:
-      *vector = make_float3(
-          wrapf(a.x, b.x, c.x), wrapf(a.y, b.y, c.y), wrapf(a.z, b.z, c.z));
+      *vector = make_float3(wrapf(a.x, b.x, c.x), wrapf(a.y, b.y, c.y), wrapf(a.z, b.z, c.z));
       break;
     case NODE_VECTOR_MATH_FRACTION:
       *vector = a - floor(a);
index d306049a7e01a1caef9079c6888aa934db46c919..886c7195d9ed9202773f791541c6a98d1dfe8f5f 100644 (file)
@@ -4473,7 +4473,7 @@ void blo_do_versions_280(FileData *fd, Library *UNUSED(lib), Main *bmain)
    */
   {
     /* Keep this block, even when empty. */
-    
+
     /* Alembic Transform Cache changed from world to local space. */
     LISTBASE_FOREACH (Object *, ob, &bmain->objects) {
       LISTBASE_FOREACH (bConstraint *, con, &ob->constraints) {