mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update previewEngine.ts
This commit is contained in:
parent
0ef489513a
commit
e65e3b4569
1 changed files with 1 additions and 0 deletions
|
|
@ -187,6 +187,7 @@ export class RoomObjectPreviewEngine {
|
|||
this.camera.useAutoRotationBehavior = true;
|
||||
this.camera.autoRotationBehavior!.idleRotationSpeed = 0.3;
|
||||
this.camera.panningSensibility = 0;
|
||||
this.camera.wheelDeltaPercentage = 0.01;
|
||||
//this.camera.mode = BABYLON.Camera.ORTHOGRAPHIC_CAMERA;
|
||||
this.camera.setTarget(new BABYLON.Vector3(0, boundingInfo.center.y, 0));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue