diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-29 15:16:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-29 15:17:48 +0400 |
commit | 6c721a86ffae49b7ce34b8a83fbe9346faefd043 (patch) | |
tree | 054804868b2115e81c73f4b72b359a5bda3709a4 /source/blender/blenkernel/intern | |
parent | d7708817d68617cb15d0690ebbd33a0fa090f4d2 (diff) |
Cleanup: Use doxy for more structured comments
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/anim.c | 11 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/anim_sys.c | 19 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/nla.c | 6 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/rigidbody.c | 21 |
4 files changed, 36 insertions, 21 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c index 4cce69dc824..b8e76858ffe 100644 --- a/source/blender/blenkernel/intern/anim.c +++ b/source/blender/blenkernel/intern/anim.c @@ -125,12 +125,13 @@ void animviz_free_motionpath(bMotionPath *mpath) /* ------------------- */ -/* Setup motion paths for the given data - * - Only used when explicitly calculating paths on bones which may/may not be consider already +/** + * Setup motion paths for the given data. + * \note Only used when explicitly calculating paths on bones which may/may not be consider already * - * < scene: current scene (for frame ranges, etc.) - * < ob: object to add paths for (must be provided) - * < pchan: posechannel to add paths for (optional; if not provided, object-paths are assumed) + * \param scene Current scene (for frame ranges, etc.) + * \param ob Object to add paths for (must be provided) + * \param pchan Posechannel to add paths for (optional; if not provided, object-paths are assumed) */ bMotionPath *animviz_verify_motionpaths(ReportList *reports, Scene *scene, Object *ob, bPoseChannel *pchan) { diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c index 6a9c4c851b2..776f7c51313 100644 --- a/source/blender/blenkernel/intern/anim_sys.c +++ b/source/blender/blenkernel/intern/anim_sys.c @@ -381,10 +381,12 @@ void BKE_relink_animdata(AnimData *adt) /* Sub-ID Regrouping ------------------------------------------- */ -/* helper heuristic for determining if a path is compatible with the basepath - * < path: (str) full RNA-path from some data (usually an F-Curve) to compare - * < basepath: (str) shorter path fragment to look for - * > returns (bool) whether there is a match +/** + * Helper heuristic for determining if a path is compatible with the basepath + * + * \param path Full RNA-path from some data (usually an F-Curve) to compare + * \param basepath Shorter path fragment to look for + * \return Whether there is a match */ static bool animpath_matches_basepath(const char path[], const char basepath[]) { @@ -2232,9 +2234,12 @@ void nladata_flush_channels(ListBase *channels) /* ---------------------- */ -/* NLA Evaluation function - values are calculated and stored in temporary "NlaEvalChannels" - * ! This is exported so that keyframing code can use this for make use of it for anim layers support - * > echannels: (list<NlaEvalChannels>) evaluation channels with calculated values +/** + * NLA Evaluation function - values are calculated and stored in temporary "NlaEvalChannels" + * + * \note This is exported so that keyframing code can use this for make use of it for anim layers support + * + * \param echannels Evaluation channels with calculated values */ static void animsys_evaluate_nla(ListBase *echannels, PointerRNA *ptr, AnimData *adt, float ctime) { diff --git a/source/blender/blenkernel/intern/nla.c b/source/blender/blenkernel/intern/nla.c index 0c244e8a40b..d0114d52a06 100644 --- a/source/blender/blenkernel/intern/nla.c +++ b/source/blender/blenkernel/intern/nla.c @@ -157,8 +157,10 @@ void free_nladata(ListBase *tracks) /* Copying ------------------------------------------- */ -/* Copy NLA strip - * < use_same_action: if true, the existing action is used (instead of being duplicated) +/** + * Copy NLA strip + * + * \param use_same_action When true, the existing action is used (instead of being duplicated) */ NlaStrip *copy_nlastrip(NlaStrip *strip, const bool use_same_action) { diff --git a/source/blender/blenkernel/intern/rigidbody.c b/source/blender/blenkernel/intern/rigidbody.c index 86128994092..09293503ad5 100644 --- a/source/blender/blenkernel/intern/rigidbody.c +++ b/source/blender/blenkernel/intern/rigidbody.c @@ -455,8 +455,10 @@ static void rigidbody_validate_sim_shape(Object *ob, bool rebuild) /* --------------------- */ -/* Create physics sim representation of object given RigidBody settings - * < rebuild: even if an instance already exists, replace it +/** + * Create physics sim representation of object given RigidBody settings + * + * \param rebuild Even if an instance already exists, replace it */ static void rigidbody_validate_sim_object(RigidBodyWorld *rbw, Object *ob, bool rebuild) { @@ -518,8 +520,10 @@ static void rigidbody_validate_sim_object(RigidBodyWorld *rbw, Object *ob, bool /* --------------------- */ -/* Create physics sim representation of constraint given rigid body constraint settings - * < rebuild: even if an instance already exists, replace it +/** + * Create physics sim representation of constraint given rigid body constraint settings + * + * \param rebuild Even if an instance already exists, replace it */ static void rigidbody_validate_sim_constraint(RigidBodyWorld *rbw, Object *ob, bool rebuild) { @@ -895,7 +899,8 @@ RigidBodyCon *BKE_rigidbody_create_constraint(Scene *scene, Object *ob, short ty /* Utilities API */ /* Get RigidBody world for the given scene, creating one if needed - * < scene: Scene to find active Rigid Body world for + * + * \param scene Scene to find active Rigid Body world for */ RigidBodyWorld *BKE_rigidbody_get_world(Scene *scene) { @@ -1093,8 +1098,10 @@ static void rigidbody_update_sim_ob(Scene *scene, RigidBodyWorld *rbw, Object *o */ } -/* Updates and validates world, bodies and shapes. - * < rebuild: rebuild entire simulation +/** + * Updates and validates world, bodies and shapes. + * + * \param rebuild Rebuild entire simulation */ static void rigidbody_update_simulation(Scene *scene, RigidBodyWorld *rbw, bool rebuild) { |