import { noop } from "../../../core/function/noop.js";
import { ObjectPoolFactory } from "../../../core/model/object/ObjectPoolFactory.js";

export class IKProblem {

    /**
     *
     * @type {IKConstraint}
     */
    constraint = null;
    /**
     *
     * @type {Skeleton}
     */
    skeleton = null;
    /**
     *
     * @type {Terrain}
     */
    terrain = null;

}

/**
 *
 * @type {ObjectPoolFactory<IKProblem>}
 */
IKProblem.pool = new ObjectPoolFactory(() => {
    return new IKProblem();
}, noop, noop);
