0225273 4 maanden geleden
bovenliggende
commit
a9108c5061
4 gewijzigde bestanden met toevoegingen van 871 en 7 verwijderingen
  1. 865 2
      package-lock.json
  2. 1 0
      package.json
  3. 1 1
      src/app/babylon/babylon.page.html
  4. 4 4
      src/app/babylon/babylon.page.ts

File diff suppressed because it is too large
+ 865 - 2
package-lock.json


+ 1 - 0
package.json

@@ -50,6 +50,7 @@
     "@angular/compiler-cli": "^18.0.0",
     "@angular/language-service": "^18.0.0",
     "@capacitor/cli": "6.1.0",
+    "@compodoc/compodoc": "^1.1.25",
     "@ionic/angular-toolkit": "^11.0.1",
     "@types/jasmine": "~5.1.0",
     "@types/parse": "^3.0.9",

+ 1 - 1
src/app/babylon/babylon.page.html

@@ -1,7 +1,7 @@
 <ion-back-button slot="start" defaultHref="/tabs/tab1"></ion-back-button>
 <div class="list">
   <div (click)="showCharacter(item?.name)" class="character" *ngFor="let item of CharacterMeshList">
-    <h1>{{item?.name}}</h1>
+    <h1>{{item?.name}} </h1>
   </div>
 </div>
 <canvas id="renderCanvas" touch-action="none"></canvas>

+ 4 - 4
src/app/babylon/babylon.page.ts

@@ -23,22 +23,22 @@ export class BabylonPage implements OnInit {
   CharacterMap:any = {}
   CharacterMeshList = [
     {
-      name:"卧室 ",
+      name:"卧室",
     dirPath:"https://nova-cloud.obs.cn-south-1.myhuaweicloud.com/storage/3d/model/student-bedroom/gltf/",
     filePath:"scene.gltf"
   },
     {
-      name:"厨房 ",
+      name:"厨房",
     dirPath:"https://nova-cloud.obs.cn-south-1.myhuaweicloud.com/storage/3d/model/student-kitchen/gltf/",
     filePath:"scene.gltf"
   },
     {
-      name:"客厅 ",
+      name:"客厅",
     dirPath:"https://nova-cloud.obs.cn-south-1.myhuaweicloud.com/storage/3d/model/student-living/gltf/",
     filePath:"scene.gltf"
   },
     {
-      name:"阳台 ",
+      name:"阳台",
     dirPath:"https://nova-cloud.obs.cn-south-1.myhuaweicloud.com/storage/3d/model/student-balcony/gltf/",
     filePath:"scene.gltf"
   },

Some files were not shown because too many files changed in this diff