Skip to content

Commit

Permalink
changed eye path to relative
Browse files Browse the repository at this point in the history
  • Loading branch information
jallwine committed Oct 21, 2023
1 parent d43863a commit be41fba
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"files": {
"main.css": "./static/css/main.95bb205c.css",
"main.js": "./static/js/main.5a2de5cb.js",
"main.js": "./static/js/main.96f76573.js",
"static/js/27.073e6805.chunk.js": "./static/js/27.073e6805.chunk.js",
"index.html": "./index.html"
},
"entrypoints": [
"static/css/main.95bb205c.css",
"static/js/main.5a2de5cb.js"
"static/js/main.96f76573.js"
]
}
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>React App</title><script defer="defer" src="./static/js/main.5a2de5cb.js"></script><link href="./static/css/main.95bb205c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>React App</title><script defer="defer" src="./static/js/main.96f76573.js"></script><link href="./static/css/main.95bb205c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
2 changes: 2 additions & 0 deletions docs/static/js/main.96f76573.js

Large diffs are not rendered by default.

67 changes: 67 additions & 0 deletions docs/static/js/main.96f76573.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @license
* Copyright 2010-2023 Three.js Authors
* SPDX-License-Identifier: MIT
*/

/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-reconciler-constants.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-reconciler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
4 changes: 2 additions & 2 deletions src/Eye.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import React, { forwardRef } from 'react'
import { useGLTF } from '@react-three/drei'

export default forwardRef(function Model(props, ref) {
const { nodes, materials } = useGLTF('/Eye.glb')
const { nodes, materials } = useGLTF('./Eye.glb')
return (
<group {...props} dispose={null} ref={ref}>
<group scale={1.04}>
Expand All @@ -18,4 +18,4 @@ export default forwardRef(function Model(props, ref) {
)
})

useGLTF.preload('/Eye.glb')
useGLTF.preload('./Eye.glb')

0 comments on commit be41fba

Please sign in to comment.