UNPKG

@react-three/p2

Version:

2D physics based hooks for react-three-fiber

4 lines (3 loc) 252 B
import type { CannonMessageMap } from '../../setup'; import type { State } from '../state'; export declare const step: (state: State, { positions, props: { maxSubSteps, stepSize, timeSinceLastCalled }, quaternions }: CannonMessageMap['step']) => void;