Cycles: Code cleanup, spaces around keywords
[blender-staging.git] / intern / cycles / bvh / bvh_build.cpp
index 4ce8f787169eb8bb3d44aff64626aa6a616fbb5b..cb389b780497f292a7f096279d825565995d4985 100644 (file)
@@ -42,7 +42,7 @@ ccl_device_inline int bitscan(int value)
 {
        assert(value != 0);
        int bit = 0;
-       while (value >>= 1) {
+       while(value >>= 1) {
                ++bit;
        }
        return bit;
@@ -136,7 +136,7 @@ void BVHBuild::add_reference_mesh(BoundBox& root, BoundBox& center, Mesh *mesh,
                                size_t steps = mesh->motion_steps - 1;
                                float4 *key_steps = curve_attr_mP->data_float4();
 
-                               for (size_t i = 0; i < steps; i++)
+                               for(size_t i = 0; i < steps; i++)
                                        curve.bounds_grow(k, key_steps + i*mesh_size, bounds);
 
                                type = PRIMITIVE_MOTION_CURVE;