UNPKG

@dimforge/rapier2d-simd-compat

Version:

2-dimensional physics engine in Rust - official JS bindings. Compatibility package with inlined webassembly as base64.

16 lines (15 loc) 436 B
import { RawCCDSolver } from "../raw"; /** * The CCD solver responsible for resolving Continuous Collision Detection. * * To avoid leaking WASM resources, this MUST be freed manually with `ccdSolver.free()` * once you are done using it. */ export declare class CCDSolver { raw: RawCCDSolver; /** * Release the WASM memory occupied by this narrow-phase. */ free(): void; constructor(raw?: RawCCDSolver); }