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/ikplugin/BIK_api.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/ikplugin/BIK_api.h')
-rw-r--r-- | source/blender/ikplugin/BIK_api.h | 42 |
1 files changed, 24 insertions, 18 deletions
diff --git a/source/blender/ikplugin/BIK_api.h b/source/blender/ikplugin/BIK_api.h index 77571dc631f..ade3113f041 100644 --- a/source/blender/ikplugin/BIK_api.h +++ b/source/blender/ikplugin/BIK_api.h @@ -22,7 +22,6 @@ * \ingroup ikplugin */ - #ifndef __BIK_API_H__ #define __BIK_API_H__ @@ -38,24 +37,31 @@ struct bPose; struct bPoseChannel; enum BIK_ParamType { - BIK_PARAM_TYPE_FLOAT = 0, - BIK_PARAM_TYPE_INT, - BIK_PARAM_TYPE_STRING, + BIK_PARAM_TYPE_FLOAT = 0, + BIK_PARAM_TYPE_INT, + BIK_PARAM_TYPE_STRING, }; struct BIK_ParamValue { - short type; /* BIK_PARAM_TYPE_.. */ - short length; /* for string, does not include terminating 0 */ - union { - float f[8]; - int i[8]; - char s[32]; - } value; + short type; /* BIK_PARAM_TYPE_.. */ + short length; /* for string, does not include terminating 0 */ + union { + float f[8]; + int i[8]; + char s[32]; + } value; }; typedef struct BIK_ParamValue BIK_ParamValue; -void BIK_initialize_tree(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, float ctime); -void BIK_execute_tree(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct bPoseChannel *pchan, float ctime); +void BIK_initialize_tree(struct Depsgraph *depsgraph, + struct Scene *scene, + struct Object *ob, + float ctime); +void BIK_execute_tree(struct Depsgraph *depsgraph, + struct Scene *scene, + struct Object *ob, + struct bPoseChannel *pchan, + float ctime); void BIK_release_tree(struct Scene *scene, struct Object *ob, float ctime); void BIK_clear_data(struct bPose *pose); void BIK_clear_cache(struct bPose *pose); @@ -71,17 +77,17 @@ void BIK_test_constraint(struct Object *ob, struct bConstraint *cons); // 1 = iTaSC /* for use in BIK_get_constraint_param */ -#define BIK_PARAM_CONSTRAINT_ERROR 0 +#define BIK_PARAM_CONSTRAINT_ERROR 0 /* for use in BIK_get_channel_param */ -#define BIK_PARAM_CHANNEL_JOINT 0 +#define BIK_PARAM_CHANNEL_JOINT 0 /* for use in BIK_get_solver_param */ -#define BIK_PARAM_SOLVER_RANK 0 -#define BIK_PARAM_SOLVER_ITERATION 1 +#define BIK_PARAM_SOLVER_RANK 0 +#define BIK_PARAM_SOLVER_ITERATION 1 #ifdef __cplusplus } #endif -#endif /* __BIK_API_H__ */ +#endif /* __BIK_API_H__ */ |