added setVRDisplay to VRControls and VREffect (#12008)

* added setVRDisplay to VRControls and VREffect

* return void
This commit is contained in:
Edward Silverton
2016-10-28 22:55:57 +09:00
committed by Masahiro Wakame
parent 896f939be7
commit 0190982444
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -4,6 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="./three.d.ts" />
/// <reference path="../webvr-api/webvr-api.d.ts" />
declare namespace THREE {
export class VRControls {
@@ -16,5 +17,7 @@ declare namespace THREE {
zeroSensor(): void;
scale: number;
setVRDisplay(display: VRDisplay): void;
}
}
+2
View File
@@ -4,6 +4,7 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="./three.d.ts" />
/// <reference path="../webvr-api/webvr-api.d.ts" />
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{