UNPKG

@pmndrs/cannon-worker-api

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