1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 15:45:43 +02:00
This commit is contained in:
syuilo
2026-04-08 14:38:43 +09:00
parent 970efb3440
commit 8ec7da0cf4
7 changed files with 43 additions and 0 deletions

View File

@@ -1694,6 +1694,7 @@ export class RoomObjectPreviewEngine {
this.envMapIndoor = BABYLON.CubeTexture.CreateFromPrefilteredData('/client-assets/room/indoor.env', this.scene);
this.envMapIndoor.boundingBoxSize = new BABYLON.Vector3(500/*cm*/, 500/*cm*/, 500/*cm*/);
this.envMapIndoor.level = 0.25;
this.camera = new BABYLON.ArcRotateCamera('camera', -Math.PI / 2, Math.PI / 2.5, 300/*cm*/, new BABYLON.Vector3(0, 90/*cm*/, 0), this.scene);
this.camera.attachControl(this.canvas);