UNPKG

constraint-solver-js

Version:

2D rigid body constraint solver written in typescript.

10 lines (9 loc) 239 B
import { Body } from "./body.js"; export declare class FixedConstraint { private x; private y; private theta; body: Body; constructor(body: Body); f(x: number, y: number, theta: number): [number, number, number]; }