ClangFormat: apply to source, most of intern
[blender.git] / intern / cycles / render / particles.h
index 2782190..65663c3 100644 (file)
@@ -30,42 +30,45 @@ class Scene;
 /* Particle System */
 
 struct Particle {
-       int index;
-       float age;
-       float lifetime;
-       float3 location;
-       float4 rotation;
-       float size;
-       float3 velocity;
-       float3 angular_velocity;
+  int index;
+  float age;
+  float lifetime;
+  float3 location;
+  float4 rotation;
+  float size;
+  float3 velocity;
+  float3 angular_velocity;
 };
 
 class ParticleSystem {
-public:
-       ParticleSystem();
-       ~ParticleSystem();
+ public:
+  ParticleSystem();
+  ~ParticleSystem();
 
-       void tag_update(Scene *scene);
+  void tag_update(Scene *scene);
 
-       array<Particle> particles;
+  array<Particle> particles;
 };
 
 /* ParticleSystem Manager */
 
 class ParticleSystemManager {
-public:
-       bool need_update;
+ public:
+  bool need_update;
 
-       ParticleSystemManager();
-       ~ParticleSystemManager();
+  ParticleSystemManager();
+  ~ParticleSystemManager();
 
-       void device_update_particles(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress);
-       void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress& progress);
-       void device_free(Device *device, DeviceScene *dscene);
+  void device_update_particles(Device *device,
+                               DeviceScene *dscene,
+                               Scene *scene,
+                               Progress &progress);
+  void device_update(Device *device, DeviceScene *dscene, Scene *scene, Progress &progress);
+  void device_free(Device *device, DeviceScene *dscene);
 
-       void tag_update(Scene *scene);
+  void tag_update(Scene *scene);
 };
 
 CCL_NAMESPACE_END
 
-#endif  /* __PARTICLES_H__ */
+#endif /* __PARTICLES_H__ */