From 6c721a86ffae49b7ce34b8a83fbe9346faefd043 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 29 May 2014 21:16:04 +1000 Subject: Cleanup: Use doxy for more structured comments --- source/blender/blenkernel/intern/rigidbody.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'source/blender/blenkernel/intern/rigidbody.c') 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) { -- cgit v1.2.3