Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_constraint.h
| Show First 20 Lines • Show All 328 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * Get the list of targets required for solving a constraint. | * Get the list of targets required for solving a constraint. | ||||
| */ | */ | ||||
| void BKE_constraint_targets_for_solving_get(struct Depsgraph *depsgraph, | void BKE_constraint_targets_for_solving_get(struct Depsgraph *depsgraph, | ||||
| struct bConstraint *con, | struct bConstraint *con, | ||||
| struct bConstraintOb *ob, | struct bConstraintOb *ob, | ||||
| struct ListBase *targets, | struct ListBase *targets, | ||||
| float ctime); | float ctime); | ||||
| void BKE_constraint_custom_object_space_get(float r_mat[4][4], struct bConstraint *con); | |||||
| /** | |||||
| * Initializes the custom coordinate space data if required by the constraint. | |||||
| * | |||||
| * \param cob Constraint evaluation context (contains the matrix to be initialized). | |||||
| * \param con Constraint that is about to be evaluated. | |||||
| */ | |||||
| void BKE_constraint_custom_object_space_init(struct bConstraintOb *cob, struct bConstraint *con); | |||||
| /** | /** | ||||
| * This function is called whenever constraints need to be evaluated. Currently, all | * This function is called whenever constraints need to be evaluated. Currently, all | ||||
| * constraints that can be evaluated are every time this gets run. | * constraints that can be evaluated are every time this gets run. | ||||
| * | * | ||||
| * #BKE_constraints_make_evalob and #BKE_constraints_clear_evalob should be called before and | * #BKE_constraints_make_evalob and #BKE_constraints_clear_evalob should be called before and | ||||
| * after running this function, to sort out cob. | * after running this function, to sort out cob. | ||||
| */ | */ | ||||
| void BKE_constraints_solve(struct Depsgraph *depsgraph, | void BKE_constraints_solve(struct Depsgraph *depsgraph, | ||||
| Show All 14 Lines | |||||