Skip to content

Commit 03dd726

Browse files
committed
stripped the code base to the bare bones
1 parent 30f3135 commit 03dd726

22 files changed

+14
-2790
lines changed

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"files.exclude": {
3+
"**/.git": false
4+
}
5+
}

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ https://github.com/miguelmyers8/PlanetTech/assets/18605314/f4621d3a-85ff-4224-be
3434
## Build From Source
3535
If you would like to work on this, here is a example of how to get it working in your react project.
3636
The first thing you need to do is install it locally.
37-
Copy the coi-serviceworker.js file from ./examples and paste it in the root directory where your index.html file is located,
37+
Copy the coi-serviceworker.js file from ./examples and paste it in the root directory or public folder where your index.html file is located,
3838
then link to it. Afterward, run the following commands.
3939
```
4040
$ cd ./to/your/projects/root
4141
$ git clone https://github.com/InterstellarJS/PlanetTech.git
4242
$ cd PlanetTech
43-
$ npm install && npm link
43+
$ npm link
4444
$ cd ..
45-
$ npm link @interstellar-js-core/planettech
45+
$ npm link @interstellar-js-core/planettech && npm install
4646
```
4747

4848

src/celestialBodies/celestialbodies.js

-57
This file was deleted.

src/celestialBodies/moon.js

-9
This file was deleted.

src/celestialBodies/planet.js

-11
This file was deleted.

src/engine/primatives.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as THREE from 'three/tsl'
2-
import { QuadTrees } from './quadtree.js'
2+
import { QuadTreeLoDCore } from './quadtree.js'
33
import { QuadGeometry, NormalizedQuadGeometry } from './geometry.js'
44

55
export class Quad extends THREE.Object3D{
@@ -14,7 +14,7 @@ export class Quad extends THREE.Object3D{
1414
dimension : dimension
1515
}
1616

17-
this.quadTreeconfig = new QuadTrees.QuadTreeLoDCore()
17+
this.quadTreeconfig = new QuadTreeLoDCore()
1818

1919
}
2020

src/engine/quad.js

-199
This file was deleted.

0 commit comments

Comments
 (0)