Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-17 07:17:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-17 07:21:24 +0300
commite12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch)
tree8cf3453d12edb177a218ef8009357518ec6cab6a /intern/cycles/render/background.h
parentb3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff)
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'intern/cycles/render/background.h')
-rw-r--r--intern/cycles/render/background.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/intern/cycles/render/background.h b/intern/cycles/render/background.h
index 17c3eaaaaf5..020db7bf6aa 100644
--- a/intern/cycles/render/background.h
+++ b/intern/cycles/render/background.h
@@ -29,34 +29,34 @@ class Scene;
class Shader;
class Background : public Node {
-public:
- NODE_DECLARE
+ public:
+ NODE_DECLARE
- float ao_factor;
- float ao_distance;
+ float ao_factor;
+ float ao_distance;
- bool use_shader;
- bool use_ao;
+ bool use_shader;
+ bool use_ao;
- uint visibility;
- Shader *shader;
+ uint visibility;
+ Shader *shader;
- bool transparent;
- bool transparent_glass;
- float transparent_roughness_threshold;
+ bool transparent;
+ bool transparent_glass;
+ float transparent_roughness_threshold;
- bool need_update;
+ bool need_update;
- Background();
- ~Background();
+ Background();
+ ~Background();
- void device_update(Device *device, DeviceScene *dscene, Scene *scene);
- void device_free(Device *device, DeviceScene *dscene);
+ void device_update(Device *device, DeviceScene *dscene, Scene *scene);
+ void device_free(Device *device, DeviceScene *dscene);
- bool modified(const Background& background);
- void tag_update(Scene *scene);
+ bool modified(const Background &background);
+ void tag_update(Scene *scene);
};
CCL_NAMESPACE_END
-#endif /* __BACKGROUND_H__ */
+#endif /* __BACKGROUND_H__ */