UNPKG
@react-three/p2
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0
2D physics based hooks for react-three-fiber
github.com/pmndrs/use-p2
pmndrs/use-p2
@react-three/p2
/
dist
/
worker
/
operations
/
init.d.ts
4 lines
(3 loc)
•
270 B
TypeScript
View Raw
1
2
3
4
import
type
{
CannonMessageProps
}
from
'../../setup'
;
import
type
{
State
}
from
'../state'
;
export
declare
const
init
:
(
state
:
State
, { axisIndex, broadphase, defaultContactMaterial, gravity, iterations, normalIndex, tolerance, }:
CannonMessageProps
<
'init'
>
) =>
void
;