mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
added setVRDisplay to VRControls and VREffect (#12008)
* added setVRDisplay to VRControls and VREffect * return void
This commit is contained in:
committed by
Masahiro Wakame
parent
896f939be7
commit
0190982444
Vendored
+3
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+2
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user