-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sessionInit parameter to VRButton (#825)
* Add sessionInit parameter to VRButton * Update three.js * Add examples * Update patch * Delete examples
- Loading branch information
1 parent
1ada12e
commit 2106c34
Showing
4 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule three.js
updated
29 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { WebGLRenderer } from "three"; | ||
|
||
export namespace VRButton { | ||
function createButton(renderer: WebGLRenderer): HTMLElement; | ||
export class VRButton { | ||
static createButton(renderer: WebGLRenderer, sessionInit?: XRSessionInit): HTMLElement; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import { WebGLRenderer } from "three"; | ||
|
||
// tslint:disable-next-line:no-unnecessary-class | ||
export class XRButton { | ||
static createButton(renderer: WebGLRenderer, sessionInit?: XRSessionInit): HTMLElement; | ||
} |