Skip to content

Commit

Permalink
Remove Igloo experimental support.
Browse files Browse the repository at this point in the history
  • Loading branch information
digisomni committed Sep 6, 2024
1 parent 0290417 commit a0cde0f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 159 deletions.
3 changes: 0 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ import { Utility } from "@Modules/utility";
import { Client } from "@World-Client/client";
import Log from "@Modules/debugging/log";

// FIXME: Apps - This should be handled properly.
window.useIgloo = window.location.toString().includes("?igloo=1");

// Fetch and initialize configuration info
Log.debug(Log.types.OTHER, `APP: Initialize`);
Utility.initializeConfig();
Expand Down
10 changes: 0 additions & 10 deletions src/igloo.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/modules/apps/igloo/Igloo.d.ts

This file was deleted.

126 changes: 0 additions & 126 deletions src/modules/apps/igloo/Igloo.js

This file was deleted.

10 changes: 0 additions & 10 deletions src/modules/avatar/controller/inputController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import { applicationStore, userStore } from "@Stores/index";
import { Renderer } from "@Modules/scene";
import { MouseSettingsController } from "@Modules/avatar/controller/inputs/mouseSettings";
import { Hysteresis } from "@Modules/utility/hysteresis";
import { IglooCamera } from "@Modules/apps/igloo/Igloo.js";

// Custom camera controls.
class ArcRotateCameraCustomInput implements ICameraInput<ArcRotateCamera> {
Expand Down Expand Up @@ -260,11 +259,6 @@ export class InputController extends ScriptComponent {
// Bind the custom controls to the camera.
this._camera.inputs.add(new ArcRotateCameraCustomInput(this._camera));
this._camera.attachControl(this._scene.getEngine().getRenderingCanvas());

// FIXME: Toss this into an app module.
if (window.useIgloo) {
window.IglooCameraInstance = new IglooCamera(null, this._scene);
}
}
}

Expand Down Expand Up @@ -788,10 +782,6 @@ export class InputController extends ScriptComponent {
return;
}

if (window.useIgloo) {
window.IglooCameraInstance.setPosition(this._camera.position);
}

this._cameraObstacleDetectInfo.elapse += delta;
if (this._cameraObstacleDetectInfo.elapse < this._cameraObstacleDetectInfo.detectDuration) {
return;
Expand Down

0 comments on commit a0cde0f

Please sign in to comment.