Skip to content

Commit

Permalink
remove more junk
Browse files Browse the repository at this point in the history
  • Loading branch information
lalalune committed Oct 7, 2024
1 parent 6d4c7a8 commit d0ce81b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,28 +26,13 @@ import Wallet from "./pages/Wallet"
const assetImportPath = import.meta.env.VITE_ASSET_PATH + "/manifest.json"
//const assetImportPath = "./manifest.json"

let cameraDistance
const centerCameraTarget = new THREE.Vector3()
const centerCameraPosition = new THREE.Vector3()
let centerCameraPositionLength
let ndcBias

const cameraDistanceOther = 6
const centerCameraTargetOther = new THREE.Vector3(0, 0.8, 0)
const centerCameraPositionOther = new THREE.Vector3(
-2.2367993753934425,
1.1512971720174363,
2.2612065299409223,
) // note: get from `moveCamera({ targetY: 0.8, distance: 3.2 })`
const centerCameraPositionLengthOther = centerCameraPositionOther.length()
const ndcBiasOther = 0.5

const localVector3 = new THREE.Vector3()
const localVector4 = new THREE.Vector4()
const localVector4_2 = new THREE.Vector4()
const xAxis = new THREE.Vector3(1, 0, 0)
const yAxis = new THREE.Vector3(0, 1, 0)

async function fetchManifest(location) {
try {
const response = await fetch(location);
Expand Down

0 comments on commit d0ce81b

Please sign in to comment.