Skip to content

Commit

Permalink
copy node_modules and change the path
Browse files Browse the repository at this point in the history
  • Loading branch information
ch0rckbean committed Aug 10, 2023
1 parent bba59c5 commit ecf6dee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.json
node_modules/
15 changes: 11 additions & 4 deletions active.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
import * as THREE from "three";
import { MaterialLoader, Mesh } from "three";
import { OrbitControls } from "../node_modules/three/examples/jsm/controls/OrbitControls.js";
import { OBJLoader } from "../node_modules/three/examples/jsm/loaders/OBJLoader.js";
import { MTLLoader } from "../node_modules/three/examples/jsm/loaders/MTLLoader.js";
import { OrbitControls } from "./node_modules/three/examples/jsm/controls/OrbitControls.js";
import { OBJLoader } from "./node_modules/three/examples/jsm/loaders/OBJLoader.js";
import { MTLLoader } from "./node_modules/three/examples/jsm/loaders/MTLLoader.js";
import {
CSS2DRenderer,
CSS2DObject,
} from "../node_modules/three/examples/jsm/renderers/CSS2DRenderer.js";
} from "./node_modules/three/examples/jsm/renderers/CSS2DRenderer.js";
// import { OrbitControls } from "../node_modules/three/examples/jsm/controls/OrbitControls.js";
// import { OBJLoader } from "../node_modules/three/examples/jsm/loaders/OBJLoader.js";
// import { MTLLoader } from "../node_modules/three/examples/jsm/loaders/MTLLoader.js";
// import {
// CSS2DRenderer,
// CSS2DObject,
// } from "../node_modules/three/examples/jsm/renderers/CSS2DRenderer.js";

/* Basic Setting*/
var myRenderer;
Expand Down

0 comments on commit ecf6dee

Please sign in to comment.