-
Notifications
You must be signed in to change notification settings - Fork 30k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [three] – r129 * fix: export MathUtils under namespace in index * fix: export Pass and FullScreenQuad from EffectComposer * fix: use long export method to avoid ts bump * r130 * feat: minor amends to r130 * [three] r131 * feat: add static slerp to Quaternion * chore: update OTHER_FILES.txt * chore: incl WebGLCubeUVMaps in exports * minor fixes to current release * [three]: r132 release * three: r133 * Update OTHER_FILES.txt * Update OTHER_FILES.txt * Update OTHER_FILES.txt * Update ArcballControls.d.ts * feat: add default to `Intersection` generic * chore: add test * r134 * r135 * fix: tslint * r136 * fix: export FramebufferTexture from THREE * [three] r137 * [three] r138 * fix stupid OSS bot rule
- Loading branch information
1 parent
8c078db
commit 0dccb24
Showing
121 changed files
with
389 additions
and
1,952 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
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 |
---|---|---|
@@ -1,70 +1,68 @@ | ||
import { Curve, Vector3 } from '../../../src/Three'; | ||
|
||
export namespace Curves { | ||
class GrannyKnot extends Curve<Vector3> { | ||
constructor(); | ||
} | ||
export class GrannyKnot extends Curve<Vector3> { | ||
constructor(); | ||
} | ||
|
||
class HeartCurve extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class HeartCurve extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class VivianiCurve extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class VivianiCurve extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class KnotCurve extends Curve<Vector3> { | ||
constructor(); | ||
} | ||
export class KnotCurve extends Curve<Vector3> { | ||
constructor(); | ||
} | ||
|
||
class HelixCurve extends Curve<Vector3> { | ||
constructor(); | ||
} | ||
export class HelixCurve extends Curve<Vector3> { | ||
constructor(); | ||
} | ||
|
||
class TrefoilKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class TrefoilKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class TorusKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class TorusKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class CinquefoilKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class CinquefoilKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class TrefoilPolynomialKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class TrefoilPolynomialKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class FigureEightPolynomialKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class FigureEightPolynomialKnot extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class DecoratedTorusKnot4a extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class DecoratedTorusKnot4a extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class DecoratedTorusKnot4b extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class DecoratedTorusKnot4b extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class DecoratedTorusKnot5a extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class DecoratedTorusKnot5a extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
|
||
class DecoratedTorusKnot5c extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} | ||
export class DecoratedTorusKnot5c extends Curve<Vector3> { | ||
constructor(scale?: number); | ||
scale: number; | ||
} |
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,20 @@ | ||
/** | ||
* @author sciecode / https://github.com/sciecode | ||
* | ||
* EXR format references: https://www.openexr.com/documentation/openexrfilelayout.pdf | ||
*/ | ||
|
||
import { WebGLRenderer, WebGLRenderTarget, TextureDataType } from '../../../src/Three'; | ||
|
||
export const NO_COMPRESSION: 0; | ||
export const ZIPS_COMPRESSION: 2; | ||
export const ZIP_COMPRESSION: 3; | ||
|
||
export interface EXRExporterParseOptions { | ||
compression?: number; | ||
type?: TextureDataType; | ||
} | ||
|
||
export class EXRExporter { | ||
parse(renderer: WebGLRenderer, renderTarget: WebGLRenderTarget, options?: EXRExporterParseOptions): Uint8Array; | ||
} |
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,14 @@ | ||
import { ColorRepresentation, LineSegments } from '../../../src/Three'; | ||
import { Octree } from '../math/Octree'; | ||
|
||
export class OctreeHelper extends LineSegments { | ||
constructor(octree: Octree, color: ColorRepresentation); | ||
|
||
octree: Octree; | ||
color: ColorRepresentation; | ||
|
||
/** | ||
* @default 'OctreeHelper' | ||
*/ | ||
type: 'OctreeHelper' | string; | ||
} |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.