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 --- source/blender/ikplugin/BIK_api.h | 42 ++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 18 deletions(-) (limited to 'source/blender/ikplugin/BIK_api.h') 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__ */ -- cgit v1.2.3