mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-05 01:14:04 +02:00
Update previewEngine.ts
This commit is contained in:
@@ -227,7 +227,6 @@ export class RoomObjectPreviewEngine {
|
|||||||
this.camera.wheelDeltaPercentage = 0.01;
|
this.camera.wheelDeltaPercentage = 0.01;
|
||||||
//this.camera.mode = BABYLON.Camera.ORTHOGRAPHIC_CAMERA;
|
//this.camera.mode = BABYLON.Camera.ORTHOGRAPHIC_CAMERA;
|
||||||
this.camera.setTarget(new BABYLON.Vector3(0, boundingInfo.centerWorld.y, 0));
|
this.camera.setTarget(new BABYLON.Vector3(0, boundingInfo.centerWorld.y, 0));
|
||||||
console.log(boundingInfo.centerWorld.y);
|
|
||||||
|
|
||||||
if (def.placement === 'wall' || def.placement === 'side') {
|
if (def.placement === 'wall' || def.placement === 'side') {
|
||||||
this.camera.lowerBetaLimit = 0;
|
this.camera.lowerBetaLimit = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user