UNPKG

react-native-filament

Version:

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

8 lines (7 loc) 276 B
"use strict"; 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