ClangFormat: apply to source, most of intern
[blender.git] / intern / cycles / render / coverage.h
index 9ee0bce..3d1f6a2 100644 (file)
 #include "util/util_vector.h"
 
 #ifndef __COVERAGE_H__
-#define __COVERAGE_H__
+#  define __COVERAGE_H__
 
 CCL_NAMESPACE_BEGIN
 
 class Coverage {
-public:
-       Coverage(KernelGlobals *kg_, RenderTile &tile_) : kg(kg_), tile(tile_) { }
-       void init_path_trace();
-       void init_pixel(int x, int y);
-       void finalize();
-private:
-       vector<CoverageMap>coverage_object;
-       vector<CoverageMap>coverage_material;
-       vector<CoverageMap>coverage_asset;
-       KernelGlobals *kg;
-       RenderTile &tile;
-       void finalize_buffer(vector<CoverageMap>&coverage, const int pass_offset);
-       void flatten_buffer(vector<CoverageMap>&coverage, const int pass_offset);
-       void sort_buffer(const int pass_offset);
-};
+ public:
+  Coverage(KernelGlobals *kg_, RenderTile &tile_) : kg(kg_), tile(tile_)
+  {
+  }
+  void init_path_trace();
+  void init_pixel(int x, int y);
+  void finalize();
 
+ private:
+  vector<CoverageMap> coverage_object;
+  vector<CoverageMap> coverage_material;
+  vector<CoverageMap> coverage_asset;
+  KernelGlobals *kg;
+  RenderTile &tile;
+  void finalize_buffer(vector<CoverageMap> &coverage, const int pass_offset);
+  void flatten_buffer(vector<CoverageMap> &coverage, const int pass_offset);
+  void sort_buffer(const int pass_offset);
+};
 
 CCL_NAMESPACE_END
 
-#endif  /* __COVERAGE_H__ */
+#endif /* __COVERAGE_H__ */