Skip to content

Commit

Permalink
Revert getCamera() removal (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Jul 6, 2023
1 parent 8ebb9ad commit 285aa21
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions types/three/src/renderers/webxr/WebXRManager.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export class WebXRManager extends EventDispatcher {

/**
* @default true
* @deprecated
*/
cameraAutoUpdate: boolean;

Expand Down Expand Up @@ -54,14 +53,9 @@ export class WebXRManager extends EventDispatcher {

setSession(value: XRSession | null): Promise<void>;

/**
* @deprecated
*/
getCamera(): WebXRArrayCamera;

setUserCamera(camera: PerspectiveCamera): void;

updateCameraXR(camera: PerspectiveCamera): void;
updateCamera(camera: PerspectiveCamera): void;

setAnimationLoop(callback: XRFrameRequestCallback | null): void;

Expand Down

0 comments on commit 285aa21

Please sign in to comment.