UNPKG

react-native-filament

Version:

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

12 lines (11 loc) 478 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.useStaticPlaneShape = useStaticPlaneShape; var _react = require("react"); var _bulletApi = require("../bulletApi"); function useStaticPlaneShape(normalX, normalY, normalZ, constant) { return (0, _react.useMemo)(() => _bulletApi.BulletAPI.createStaticPlaneShape(normalX, normalY, normalZ, constant), [normalX, normalY, normalZ, constant]); } //# sourceMappingURL=useStaticPlaneShape.js.map