@@ -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,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>
<canvas id="renderCanvas" touch-action="none"></canvas>
@@ -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/",
- name:"客厅 ",
+ name:"客厅",
dirPath:"https://nova-cloud.obs.cn-south-1.myhuaweicloud.com/storage/3d/model/student-living/gltf/",
- name:"阳台 ",
+ name:"阳台",
dirPath:"https://nova-cloud.obs.cn-south-1.myhuaweicloud.com/storage/3d/model/student-balcony/gltf/",