/**
 * Base class for IK constraints.
 *
 * Constraints are applied after each FABRIK iteration to enforce
 * joint limitations (angle limits, pole vectors, etc.).
 *
 * @public
 */ class IKConstraint {
    /** The joint index this constraint applies to */ _jointIndex;
    /**
   * Create an IK constraint.
   *
   * @param jointIndex - Index of the joint in the chain (0 = root)
   */ constructor(jointIndex){
        this._jointIndex = jointIndex;
    }
    /**
   * Get the joint index this constraint applies to.
   */ get jointIndex() {
        return this._jointIndex;
    }
}

export { IKConstraint };
//# sourceMappingURL=ik_constraint.js.map
