From e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 17 Apr 2019 06:17:24 +0200 Subject: 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 --- intern/cycles/util/util_ies.h | 62 +++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 32 deletions(-) (limited to 'intern/cycles/util/util_ies.h') diff --git a/intern/cycles/util/util_ies.h b/intern/cycles/util/util_ies.h index 096b1fdf803..ab1b9ea57cf 100644 --- a/intern/cycles/util/util_ies.h +++ b/intern/cycles/util/util_ies.h @@ -23,39 +23,37 @@ CCL_NAMESPACE_BEGIN class IESFile { -public: - IESFile() {} - ~IESFile(); - - int packed_size(); - void pack(float *data); - - bool load(ustring ies); - void clear(); - -protected: - bool parse(ustring ies); - bool process(); - bool process_type_b(); - bool process_type_c(); - - /* The brightness distribution is stored in spherical coordinates. - * The horizontal angles correspond to theta in the regular notation - * and always span the full range from 0° to 360°. - * The vertical angles correspond to phi and always start at 0°. */ - vector v_angles, h_angles; - /* The actual values are stored here, with every entry storing the values - * of one horizontal segment. */ - vector > intensity; - - /* Types of angle representation in IES files. Currently, only B and C are supported. */ - enum IESType { - TYPE_A = 3, - TYPE_B = 2, - TYPE_C = 1 - } type; + public: + IESFile() + { + } + ~IESFile(); + + int packed_size(); + void pack(float *data); + + bool load(ustring ies); + void clear(); + + protected: + bool parse(ustring ies); + bool process(); + bool process_type_b(); + bool process_type_c(); + + /* The brightness distribution is stored in spherical coordinates. + * The horizontal angles correspond to theta in the regular notation + * and always span the full range from 0° to 360°. + * The vertical angles correspond to phi and always start at 0°. */ + vector v_angles, h_angles; + /* The actual values are stored here, with every entry storing the values + * of one horizontal segment. */ + vector> intensity; + + /* Types of angle representation in IES files. Currently, only B and C are supported. */ + enum IESType { TYPE_A = 3, TYPE_B = 2, TYPE_C = 1 } type; }; CCL_NAMESPACE_END -#endif /* __UTIL_IES_H__ */ +#endif /* __UTIL_IES_H__ */ -- cgit v1.2.3