diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-15 19:16:40 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-11-15 19:16:40 +0300 |
commit | cd9ab9d99eb42cc61d3220447322f1c9adad6d21 (patch) | |
tree | b556f060aebd0404f077de219a19282f19d66bbf /intern/cycles/kernel/bvh/bvh.h | |
parent | 74fdf68a413fe9fb6345903fa682ca1a46be3060 (diff) |
Cycles: Cleanup, code style
Diffstat (limited to 'intern/cycles/kernel/bvh/bvh.h')
-rw-r--r-- | intern/cycles/kernel/bvh/bvh.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/intern/cycles/kernel/bvh/bvh.h b/intern/cycles/kernel/bvh/bvh.h index 72bba8d968f..6708a3efac1 100644 --- a/intern/cycles/kernel/bvh/bvh.h +++ b/intern/cycles/kernel/bvh/bvh.h @@ -186,7 +186,7 @@ ccl_device_intersect bool scene_intersect(KernelGlobals *kg, float difl, float extmax) { - if (!scene_intersect_valid(&ray)) { + if(!scene_intersect_valid(&ray)) { return false; } #ifdef __EMBREE__ @@ -248,7 +248,7 @@ ccl_device_intersect bool scene_intersect_local(KernelGlobals *kg, uint *lcg_state, int max_hits) { - if (!scene_intersect_valid(&ray)) { + if(!scene_intersect_valid(&ray)) { return false; } #ifdef __EMBREE__ @@ -327,7 +327,7 @@ ccl_device_intersect bool scene_intersect_shadow_all(KernelGlobals *kg, uint max_hits, uint *num_hits) { - if (!scene_intersect_valid(ray)) { + if(!scene_intersect_valid(ray)) { return false; } # ifdef __EMBREE__ @@ -407,7 +407,7 @@ ccl_device_intersect bool scene_intersect_volume(KernelGlobals *kg, Intersection *isect, const uint visibility) { - if (!scene_intersect_valid(ray)) { + if(!scene_intersect_valid(ray)) { return false; } # ifdef __OBJECT_MOTION__ @@ -438,7 +438,7 @@ ccl_device_intersect uint scene_intersect_volume_all(KernelGlobals *kg, const uint max_hits, const uint visibility) { - if (!scene_intersect_valid(ray)) { + if(!scene_intersect_valid(ray)) { return false; } # ifdef __EMBREE__ |