Spaces:
Running
Running
Julien Chaumond
commited on
Commit
•
4030e5c
1
Parent(s):
98bc8c8
[Workflow] We don't actually use the vscode task
Browse files- .vscode/tasks.json +0 -14
- src/index.ts +1 -3
.vscode/tasks.json
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
{
|
2 |
-
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
3 |
-
// for the documentation about the tasks.json format
|
4 |
-
"version": "2.0.0",
|
5 |
-
"tasks": [
|
6 |
-
{
|
7 |
-
"label": "post-compile",
|
8 |
-
"type": "process",
|
9 |
-
"isBackground": true,
|
10 |
-
"command": "fswatch -o dist/*.js | xargs -n 1 './post-compile.sh'",
|
11 |
-
"problemMatcher": []
|
12 |
-
}
|
13 |
-
]
|
14 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/index.ts
CHANGED
@@ -103,8 +103,6 @@ class Assets {
|
|
103 |
animations: THREE.AnimationClip[];
|
104 |
scene: THREE.Group;
|
105 |
}> {
|
106 |
-
/// In Dae/Collada: did not manage to get
|
107 |
-
/// either the anims or the texture.
|
108 |
return new Promise((resolve, reject) => {
|
109 |
const loader: THREE.AnyLoader = new (<any>THREE).ColladaLoader();
|
110 |
loader.load(
|
@@ -138,7 +136,7 @@ class TUtils {
|
|
138 |
scene.add(gridHelper);
|
139 |
const axesHelper = new THREE.AxesHelper(50);
|
140 |
scene.add(axesHelper);
|
141 |
-
|
142 |
|
143 |
{
|
144 |
const egg = await Assets.loadEgg();
|
|
|
103 |
animations: THREE.AnimationClip[];
|
104 |
scene: THREE.Group;
|
105 |
}> {
|
|
|
|
|
106 |
return new Promise((resolve, reject) => {
|
107 |
const loader: THREE.AnyLoader = new (<any>THREE).ColladaLoader();
|
108 |
loader.load(
|
|
|
136 |
scene.add(gridHelper);
|
137 |
const axesHelper = new THREE.AxesHelper(50);
|
138 |
scene.add(axesHelper);
|
139 |
+
|
140 |
|
141 |
{
|
142 |
const egg = await Assets.loadEgg();
|