UNPKG

react-native-filament

Version:

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

6 lines 261 B
import { useMemo } from 'react'; import { BulletAPI } from '../bulletApi'; export function useBoxShape(halfX, halfY, halfZ) { return useMemo(() => BulletAPI.createBoxShape(halfX, halfY, halfZ), [halfX, halfY, halfZ]); } //# sourceMappingURL=useBoxShape.js.map