From 0190982444ef670839deb3fde37a26c79dfce08e Mon Sep 17 00:00:00 2001 From: Edward Silverton Date: Fri, 28 Oct 2016 15:55:57 +0200 Subject: [PATCH] added setVRDisplay to VRControls and VREffect (#12008) * added setVRDisplay to VRControls and VREffect * return void --- threejs/three-vrcontrols.d.ts | 3 +++ threejs/three-vreffect.d.ts | 2 ++ 2 files changed, 5 insertions(+) diff --git a/threejs/three-vrcontrols.d.ts b/threejs/three-vrcontrols.d.ts index 1e0b018a6a..e1c9940cee 100644 --- a/threejs/three-vrcontrols.d.ts +++ b/threejs/three-vrcontrols.d.ts @@ -4,6 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// declare namespace THREE { export class VRControls { @@ -16,5 +17,7 @@ declare namespace THREE { zeroSensor(): void; scale: number; + + setVRDisplay(display: VRDisplay): void; } } diff --git a/threejs/three-vreffect.d.ts b/threejs/three-vreffect.d.ts index 1e1684cc67..93f5e28acb 100644 --- a/threejs/three-vreffect.d.ts +++ b/threejs/three-vreffect.d.ts @@ -4,6 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// +/// declare namespace THREE { export class VREffect { @@ -15,6 +16,7 @@ declare namespace THREE { FovToNDCScaleOffset(fov: VRFov): VREffectOffset; FovPortToProjection(fov: VRFov, rightHanded: boolean, zNear: number, zFar: number): Matrix4; FovToProjection(fov: VRFov, rightHanded: boolean, zNear: number, zFar: number): Matrix4; + setVRDisplay(display: VRDisplay): void; } export interface VRFov{