-
-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
43 additions
and
29 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
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
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
4 changes: 3 additions & 1 deletion
4
types/three/examples/jsm/WebGL.d.ts → ...hree/examples/jsm/capabilities/WebGL.d.ts
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,7 +1,9 @@ | ||
export namespace WEBGL { | ||
declare namespace WEBGL { | ||
function isWebGLAvailable(): boolean; | ||
function isWebGL2Available(): boolean; | ||
function getWebGLErrorMessage(): HTMLElement; | ||
function getWebGL2ErrorMessage(): HTMLElement; | ||
function getErrorMessage(version: number): HTMLElement; | ||
} | ||
|
||
export default WEBGL; |
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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/** | ||
* `PackedPhongMaterial` inherited from THREE.MeshPhongMaterial | ||
* | ||
* @param {Object} parameters | ||
*/ | ||
import { MeshPhongMaterial, MeshPhongMaterialParameters } from '../../../src/Three'; | ||
|
||
export class PackedPhongMaterial extends MeshPhongMaterial { | ||
constructor(parameters: MeshPhongMaterialParameters); | ||
} |
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,14 +1,12 @@ | ||
import { BufferGeometry, Group, InstancedMesh, Material, Object3D, Scene } from '../../../src/Three'; | ||
|
||
export namespace SceneUtils { | ||
function createMeshesFromInstancedMesh(instancedMesh: InstancedMesh): Group; | ||
function createMultiMaterialObject(geometry: BufferGeometry, materials: Material[]): Group; | ||
/** | ||
* @deprecated Use scene.attach( child ) instead. | ||
*/ | ||
function detach(child: Object3D, parent: Object3D, scene: Scene): void; | ||
/** | ||
* @deprecated Use parent.attach( child ) instead. | ||
*/ | ||
function attach(child: Object3D, scene: Scene, parent: Object3D): void; | ||
} | ||
export function createMeshesFromInstancedMesh(instancedMesh: InstancedMesh): Group; | ||
export function createMultiMaterialObject(geometry: BufferGeometry, materials: Material[]): Group; | ||
/** | ||
* @deprecated Use scene.attach( child ) instead. | ||
*/ | ||
export function detach(child: Object3D, parent: Object3D, scene: Scene): void; | ||
/** | ||
* @deprecated Use parent.attach( child ) instead. | ||
*/ | ||
export function attach(child: Object3D, scene: Scene, parent: Object3D): void; |
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
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
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
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
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
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
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
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
2 changes: 1 addition & 1 deletion
2
types/three/test/renderers/renderers-renderTarget-texture2DArray.ts
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