UNPKG

@react-three/p2

Version:

2D physics based hooks for react-three-fiber

4 lines (3 loc) 225 B
import type { CannonMessageMap } from '../../setup'; import type { State } from '../state'; export declare const addRay: (state: State, { props: { from, mode, to, ...rayOptions }, uuid }: CannonMessageMap['addRay']) => void;