diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /source/blender/collada/TransformWriter.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (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 'source/blender/collada/TransformWriter.h')
-rw-r--r-- | source/blender/collada/TransformWriter.h | 35 |
1 files changed, 16 insertions, 19 deletions
diff --git a/source/blender/collada/TransformWriter.h b/source/blender/collada/TransformWriter.h index 3792ce840ee..22ba0716cfe 100644 --- a/source/blender/collada/TransformWriter.h +++ b/source/blender/collada/TransformWriter.h @@ -29,25 +29,22 @@ #include "collada_utils.h" #include "collada.h" -class TransformWriter -{ -protected: - void add_node_transform( - COLLADASW::Node& node, - float mat[4][4], - float parent_mat[4][4], - bool limit_precision=false); - - void add_node_transform_ob( - COLLADASW::Node& node, - Object *ob, - BC_export_transformation_type transformation_type, - bool limit_precision = false); - - void add_node_transform_identity(COLLADASW::Node& node); - -private: - void add_transform(COLLADASW::Node& node, float loc[3], float rot[3], float scale[3]); +class TransformWriter { + protected: + void add_node_transform(COLLADASW::Node &node, + float mat[4][4], + float parent_mat[4][4], + bool limit_precision = false); + + void add_node_transform_ob(COLLADASW::Node &node, + Object *ob, + BC_export_transformation_type transformation_type, + bool limit_precision = false); + + void add_node_transform_identity(COLLADASW::Node &node); + + private: + void add_transform(COLLADASW::Node &node, float loc[3], float rot[3], float scale[3]); }; #endif |