UNPKG

react-native-filament

Version:

A real-time physically based 3D rendering engine for React Native

6 lines 231 B
import { useMemo } from 'react'; import { BulletAPI } from '../bulletApi'; export function useWorld(x, y, z) { return useMemo(() => BulletAPI.createDiscreteDynamicWorld(x, y, z), [x, y, z]); } //# sourceMappingURL=useWorld.js.map