Initial project import

This commit is contained in:
drjones
2026-06-13 17:36:44 -07:00
commit ad2a18cc8d
18471 changed files with 4497570 additions and 0 deletions

25
node_modules/@react-three/drei/core/ScreenSpace.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
import _extends from '@babel/runtime/helpers/esm/extends';
import * as React from 'react';
import { useFrame } from '@react-three/fiber';
const ScreenSpace = /* @__PURE__ */React.forwardRef(({
children,
depth = -1,
...rest
}, ref) => {
const localRef = React.useRef(null);
React.useImperativeHandle(ref, () => localRef.current, []);
useFrame(({
camera
}) => {
localRef.current.quaternion.copy(camera.quaternion);
localRef.current.position.copy(camera.position);
});
return /*#__PURE__*/React.createElement("group", _extends({
ref: localRef
}, rest), /*#__PURE__*/React.createElement("group", {
"position-z": -depth
}, children));
});
export { ScreenSpace };