UNPKG

react-native-filament

Version:

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

12 lines (11 loc) 354 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useWorld = useWorld; var _react = require("react"); var _bulletApi = require("../bulletApi"); function useWorld(x, y, z) { return (0, _react.useMemo)(() => _bulletApi.BulletAPI.createDiscreteDynamicWorld(x, y, z), [x, y, z]); } //# sourceMappingURL=useWorld.js.map