UNPKG

@react-three/p2

Version:

2D physics based hooks for react-three-fiber

9 lines (8 loc) 400 B
import type { ProviderProps } from './Provider'; import type { WorldPropName } from './setup'; import type { CannonWorkerAPI } from './cannon-worker-api'; declare type Props = Pick<Required<ProviderProps>, WorldPropName> & { worker: CannonWorkerAPI; }; export declare function useUpdateWorldPropsEffect({ axisIndex, broadphase, gravity, iterations, tolerance, worker, }: Props): void; export {};