@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
17 lines • 394 B
TypeScript
export class MLS_MPMSolver {
particles: any[];
/**
* velocity + mass, node_res = cell_res + 1
*
* [velocity_x, velocity_y, mass]
* @type {Float32Array}
*/
grid: Float32Array;
/**
*
* @param {number} dt
*/
advance(dt: number): void;
add_rnd_square(center: any, c: any, count?: number): void;
}
//# sourceMappingURL=MLS_MPM.d.ts.map