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/CubeTexture.js generated vendored Normal file
View File

@@ -0,0 +1,25 @@
import * as React from 'react';
import { CubeTextureLoader } from 'three';
import { useLoader } from '@react-three/fiber';
function useCubeTexture(files, {
path
}) {
const [cubeTexture] = useLoader(CubeTextureLoader, [files], loader => loader.setPath(path));
return cubeTexture;
}
useCubeTexture.preload = (files, {
path
}) => useLoader.preload(CubeTextureLoader, [files], loader => loader.setPath(path));
function CubeTexture({
children,
files,
...options
}) {
const texture = useCubeTexture(files, {
...options
});
return /*#__PURE__*/React.createElement(React.Fragment, null, children == null ? void 0 : children(texture));
}
export { CubeTexture, useCubeTexture };