UNPKG

@threlte/rapier

Version:

Components and hooks to use the Rapier physics engine in Threlte

5 lines (4 loc) 122 B
import { getContext } from 'svelte'; export const useRapier = () => { return getContext('threlte-rapier-context'); };