UNPKG

three-stdlib

Version:

stand-alone library of threejs examples

8 lines (6 loc) 196 B
import { Mesh, Vector3 } from 'three' export class AmmoPhysics { constructor() addMesh(mesh: Mesh, mass: number): void setMeshPosition(mesh: Mesh, position: Vector3, index: number): void }