UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

31 lines (26 loc) 551 B
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);