|
@@ -519,8 +519,6 @@ Object.defineProperties( Vector2.prototype, {
|
|
|
|
|
|
Object.assign( Vector2.prototype, {
|
|
|
|
|
|
- constructor: Vector2,
|
|
|
-
|
|
|
isVector2: true,
|
|
|
|
|
|
set: function ( x, y ) {
|
|
@@ -1263,8 +1261,6 @@ function Vector4( x, y, z, w ) {
|
|
|
|
|
|
Object.assign( Vector4.prototype, {
|
|
|
|
|
|
- constructor: Vector4,
|
|
|
-
|
|
|
isVector4: true,
|
|
|
|
|
|
set: function ( x, y, z, w ) {
|
|
@@ -1907,8 +1903,6 @@ function WebGLRenderTarget( width, height, options ) {
|
|
|
|
|
|
Object.assign( WebGLRenderTarget.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
- constructor: WebGLRenderTarget,
|
|
|
-
|
|
|
isWebGLRenderTarget: true,
|
|
|
|
|
|
setSize: function ( width, height ) {
|
|
@@ -2139,8 +2133,6 @@ Object.defineProperties( Quaternion.prototype, {
|
|
|
|
|
|
Object.assign( Quaternion.prototype, {
|
|
|
|
|
|
- constructor: Quaternion,
|
|
|
-
|
|
|
set: function ( x, y, z, w ) {
|
|
|
|
|
|
this._x = x;
|
|
@@ -2602,8 +2594,6 @@ function Vector3( x, y, z ) {
|
|
|
|
|
|
Object.assign( Vector3.prototype, {
|
|
|
|
|
|
- constructor: Vector3,
|
|
|
-
|
|
|
isVector3: true,
|
|
|
|
|
|
set: function ( x, y, z ) {
|
|
@@ -3359,8 +3349,6 @@ function Matrix4() {
|
|
|
|
|
|
Object.assign( Matrix4.prototype, {
|
|
|
|
|
|
- constructor: Matrix4,
|
|
|
-
|
|
|
isMatrix4: true,
|
|
|
|
|
|
set: function ( n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44 ) {
|
|
@@ -5260,8 +5248,6 @@ function Color( r, g, b ) {
|
|
|
|
|
|
Object.assign( Color.prototype, {
|
|
|
|
|
|
- constructor: Color,
|
|
|
-
|
|
|
isColor: true,
|
|
|
|
|
|
r: 1, g: 1, b: 1,
|
|
@@ -6158,8 +6144,6 @@ function Box2( min, max ) {
|
|
|
|
|
|
Object.assign( Box2.prototype, {
|
|
|
|
|
|
- constructor: Box2,
|
|
|
-
|
|
|
set: function ( min, max ) {
|
|
|
|
|
|
this.min.copy( min );
|
|
@@ -7200,8 +7184,6 @@ Object.defineProperty( Material.prototype, "needsUpdate", {
|
|
|
|
|
|
Object.assign( Material.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
- constructor: Material,
|
|
|
-
|
|
|
isMaterial: true,
|
|
|
|
|
|
setValues: function ( values ) {
|
|
@@ -7687,8 +7669,6 @@ function Box3( min, max ) {
|
|
|
|
|
|
Object.assign( Box3.prototype, {
|
|
|
|
|
|
- constructor: Box3,
|
|
|
-
|
|
|
isBox3: true,
|
|
|
|
|
|
set: function ( min, max ) {
|
|
@@ -8169,8 +8149,6 @@ function Sphere( center, radius ) {
|
|
|
|
|
|
Object.assign( Sphere.prototype, {
|
|
|
|
|
|
- constructor: Sphere,
|
|
|
-
|
|
|
set: function ( center, radius ) {
|
|
|
|
|
|
this.center.copy( center );
|
|
@@ -8357,8 +8335,6 @@ function Matrix3() {
|
|
|
|
|
|
Object.assign( Matrix3.prototype, {
|
|
|
|
|
|
- constructor: Matrix3,
|
|
|
-
|
|
|
isMatrix3: true,
|
|
|
|
|
|
set: function ( n11, n12, n13, n21, n22, n23, n31, n32, n33 ) {
|
|
@@ -8617,8 +8593,6 @@ function Plane( normal, constant ) {
|
|
|
|
|
|
Object.assign( Plane.prototype, {
|
|
|
|
|
|
- constructor: Plane,
|
|
|
-
|
|
|
set: function ( normal, constant ) {
|
|
|
|
|
|
this.normal.copy( normal );
|
|
@@ -8860,8 +8834,6 @@ function Frustum( p0, p1, p2, p3, p4, p5 ) {
|
|
|
|
|
|
Object.assign( Frustum.prototype, {
|
|
|
|
|
|
- constructor: Frustum,
|
|
|
-
|
|
|
set: function ( p0, p1, p2, p3, p4, p5 ) {
|
|
|
|
|
|
var planes = this.planes;
|
|
@@ -9504,8 +9476,6 @@ function Ray( origin, direction ) {
|
|
|
|
|
|
Object.assign( Ray.prototype, {
|
|
|
|
|
|
- constructor: Ray,
|
|
|
-
|
|
|
set: function ( origin, direction ) {
|
|
|
|
|
|
this.origin.copy( origin );
|
|
@@ -10118,8 +10088,6 @@ Object.defineProperties( Euler.prototype, {
|
|
|
|
|
|
Object.assign( Euler.prototype, {
|
|
|
|
|
|
- constructor: Euler,
|
|
|
-
|
|
|
isEuler: true,
|
|
|
|
|
|
set: function ( x, y, z, order ) {
|
|
@@ -10384,8 +10352,6 @@ function Layers() {
|
|
|
|
|
|
Object.assign( Layers.prototype, {
|
|
|
|
|
|
- constructor: Layers,
|
|
|
-
|
|
|
set: function ( channel ) {
|
|
|
|
|
|
this.mask = 1 << channel;
|
|
@@ -10514,8 +10480,6 @@ Object3D.DefaultMatrixAutoUpdate = true;
|
|
|
|
|
|
Object.assign( Object3D.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
- constructor: Object3D,
|
|
|
-
|
|
|
isObject3D: true,
|
|
|
|
|
|
applyMatrix: function ( matrix ) {
|
|
@@ -11156,8 +11120,6 @@ function Line3( start, end ) {
|
|
|
|
|
|
Object.assign( Line3.prototype, {
|
|
|
|
|
|
- constructor: Line3,
|
|
|
-
|
|
|
set: function ( start, end ) {
|
|
|
|
|
|
this.start.copy( start );
|
|
@@ -11372,8 +11334,6 @@ Object.assign( Triangle, {
|
|
|
|
|
|
Object.assign( Triangle.prototype, {
|
|
|
|
|
|
- constructor: Triangle,
|
|
|
-
|
|
|
set: function ( a, b, c ) {
|
|
|
|
|
|
this.a.copy( a );
|
|
@@ -11547,8 +11507,6 @@ function Face3( a, b, c, normal, color, materialIndex ) {
|
|
|
|
|
|
Object.assign( Face3.prototype, {
|
|
|
|
|
|
- constructor: Face3,
|
|
|
-
|
|
|
clone: function () {
|
|
|
|
|
|
return new this.constructor().copy( this );
|
|
@@ -11739,16 +11697,8 @@ Object.defineProperty( BufferAttribute.prototype, "needsUpdate", {
|
|
|
|
|
|
Object.assign( BufferAttribute.prototype, {
|
|
|
|
|
|
- constructor: BufferAttribute,
|
|
|
-
|
|
|
isBufferAttribute: true,
|
|
|
|
|
|
- set needsUpdate( value ) {
|
|
|
-
|
|
|
- if ( value === true ) this.version ++;
|
|
|
-
|
|
|
- },
|
|
|
-
|
|
|
setArray: function ( array ) {
|
|
|
|
|
|
if ( Array.isArray( array ) ) {
|
|
@@ -12463,8 +12413,6 @@ function Geometry() {
|
|
|
|
|
|
Object.assign( Geometry.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
- constructor: Geometry,
|
|
|
-
|
|
|
isGeometry: true,
|
|
|
|
|
|
applyMatrix: function ( matrix ) {
|
|
@@ -13862,8 +13810,6 @@ BufferGeometry.MaxIndex = 65535;
|
|
|
|
|
|
Object.assign( BufferGeometry.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
- constructor: BufferGeometry,
|
|
|
-
|
|
|
isBufferGeometry: true,
|
|
|
|
|
|
getIndex: function () {
|
|
@@ -22952,7 +22898,6 @@ function LOD() {
|
|
|
|
|
|
}
|
|
|
|
|
|
-
|
|
|
LOD.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
|
|
|
constructor: LOD,
|
|
@@ -23373,7 +23318,6 @@ function SkinnedMesh( geometry, material, useVertexTexture ) {
|
|
|
|
|
|
}
|
|
|
|
|
|
-
|
|
|
SkinnedMesh.prototype = Object.assign( Object.create( Mesh.prototype ), {
|
|
|
|
|
|
constructor: SkinnedMesh,
|
|
@@ -28231,8 +28175,6 @@ function MultiMaterial( materials ) {
|
|
|
|
|
|
Object.assign( MultiMaterial.prototype, {
|
|
|
|
|
|
- constructor: MultiMaterial,
|
|
|
-
|
|
|
isMultiMaterial: true,
|
|
|
|
|
|
toJSON: function ( meta ) {
|
|
@@ -30339,8 +30281,6 @@ function Interpolant( parameterPositions, sampleValues, sampleSize, resultBuffer
|
|
|
|
|
|
Object.assign( Interpolant.prototype, {
|
|
|
|
|
|
- constructor: Interpolant,
|
|
|
-
|
|
|
evaluate: function( t ) {
|
|
|
|
|
|
var pp = this.parameterPositions,
|
|
@@ -30571,8 +30511,7 @@ Object.assign( Interpolant.prototype, {
|
|
|
* @author tschw
|
|
|
*/
|
|
|
|
|
|
-function CubicInterpolant(
|
|
|
- parameterPositions, sampleValues, sampleSize, resultBuffer ) {
|
|
|
+function CubicInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
|
|
|
|
|
|
Interpolant.call(
|
|
|
this, parameterPositions, sampleValues, sampleSize, resultBuffer );
|
|
@@ -30584,8 +30523,7 @@ function CubicInterpolant(
|
|
|
|
|
|
}
|
|
|
|
|
|
-CubicInterpolant.prototype =
|
|
|
- Object.assign( Object.create( Interpolant.prototype ), {
|
|
|
+CubicInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
|
|
|
|
|
|
constructor: CubicInterpolant,
|
|
|
|
|
@@ -30718,16 +30656,13 @@ CubicInterpolant.prototype =
|
|
|
* @author tschw
|
|
|
*/
|
|
|
|
|
|
-function LinearInterpolant(
|
|
|
- parameterPositions, sampleValues, sampleSize, resultBuffer ) {
|
|
|
+function LinearInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
|
|
|
|
|
|
- Interpolant.call(
|
|
|
- this, parameterPositions, sampleValues, sampleSize, resultBuffer );
|
|
|
+ Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
|
|
|
|
|
|
}
|
|
|
|
|
|
-LinearInterpolant.prototype =
|
|
|
- Object.assign( Object.create( Interpolant.prototype ), {
|
|
|
+LinearInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
|
|
|
|
|
|
constructor: LinearInterpolant,
|
|
|
|
|
@@ -30765,16 +30700,13 @@ LinearInterpolant.prototype =
|
|
|
* @author tschw
|
|
|
*/
|
|
|
|
|
|
-function DiscreteInterpolant(
|
|
|
- parameterPositions, sampleValues, sampleSize, resultBuffer ) {
|
|
|
+function DiscreteInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
|
|
|
|
|
|
- Interpolant.call(
|
|
|
- this, parameterPositions, sampleValues, sampleSize, resultBuffer );
|
|
|
+ Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
|
|
|
|
|
|
}
|
|
|
|
|
|
-DiscreteInterpolant.prototype =
|
|
|
- Object.assign( Object.create( Interpolant.prototype ), {
|
|
|
+DiscreteInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
|
|
|
|
|
|
constructor: DiscreteInterpolant,
|
|
|
|
|
@@ -31199,16 +31131,13 @@ VectorKeyframeTrack.prototype =
|
|
|
* @author tschw
|
|
|
*/
|
|
|
|
|
|
-function QuaternionLinearInterpolant(
|
|
|
- parameterPositions, sampleValues, sampleSize, resultBuffer ) {
|
|
|
+function QuaternionLinearInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) {
|
|
|
|
|
|
- Interpolant.call(
|
|
|
- this, parameterPositions, sampleValues, sampleSize, resultBuffer );
|
|
|
+ Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
|
|
|
|
|
|
}
|
|
|
|
|
|
-QuaternionLinearInterpolant.prototype =
|
|
|
- Object.assign( Object.create( Interpolant.prototype ), {
|
|
|
+QuaternionLinearInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype ), {
|
|
|
|
|
|
constructor: QuaternionLinearInterpolant,
|
|
|
|
|
@@ -31849,8 +31778,6 @@ Object.assign( AnimationClip, {
|
|
|
|
|
|
Object.assign( AnimationClip.prototype, {
|
|
|
|
|
|
- constructor: AnimationClip,
|
|
|
-
|
|
|
resetDuration: function() {
|
|
|
|
|
|
var tracks = this.tracks,
|
|
@@ -32197,8 +32124,6 @@ Loader.Handlers = {
|
|
|
|
|
|
Object.assign( Loader.prototype, {
|
|
|
|
|
|
- constructor: Loader,
|
|
|
-
|
|
|
crossOrigin: undefined,
|
|
|
|
|
|
extractUrlBase: function ( url ) {
|
|
@@ -33861,8 +33786,6 @@ function Curve() {}
|
|
|
|
|
|
Object.assign( Curve.prototype, {
|
|
|
|
|
|
- constructor: Curve,
|
|
|
-
|
|
|
// Virtual base class method to overwrite and implement in subclasses
|
|
|
// - t [0 .. 1]
|
|
|
|
|
@@ -36032,8 +35955,7 @@ Audio.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
return this.gain.gain.value;
|
|
|
|
|
|
},
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
setVolume: function ( value ) {
|
|
|
|
|
|
this.gain.gain.value = value;
|
|
@@ -36233,8 +36155,6 @@ function PropertyMixer( binding, typeName, valueSize ) {
|
|
|
|
|
|
Object.assign( PropertyMixer.prototype, {
|
|
|
|
|
|
- constructor: PropertyMixer,
|
|
|
-
|
|
|
// accumulate data in the 'incoming' region into 'accu<i>'
|
|
|
accumulate: function( accuIndex, weight ) {
|
|
|
|
|
@@ -36404,8 +36324,6 @@ function Composite ( targetGroup, path, optionalParsedPath ) {
|
|
|
|
|
|
Object.assign( Composite.prototype, {
|
|
|
|
|
|
- constructor: Composite,
|
|
|
-
|
|
|
getValue: function( array, offset ) {
|
|
|
|
|
|
this.bind(); // bind all binding
|
|
@@ -36611,8 +36529,6 @@ Object.assign( PropertyBinding, {
|
|
|
|
|
|
Object.assign( PropertyBinding.prototype, { // prototype, continued
|
|
|
|
|
|
- constructor: PropertyBinding,
|
|
|
-
|
|
|
// these are used to "bind" a nonexistent property
|
|
|
_getValue_unavailable: function() {},
|
|
|
_setValue_unavailable: function() {},
|
|
@@ -37109,8 +37025,6 @@ function AnimationObjectGroup( var_args ) {
|
|
|
|
|
|
Object.assign( AnimationObjectGroup.prototype, {
|
|
|
|
|
|
- constructor: AnimationObjectGroup,
|
|
|
-
|
|
|
isAnimationObjectGroup: true,
|
|
|
|
|
|
add: function( var_args ) {
|
|
@@ -37487,8 +37401,6 @@ function AnimationAction( mixer, clip, localRoot ) {
|
|
|
|
|
|
Object.assign( AnimationAction.prototype, {
|
|
|
|
|
|
- constructor: AnimationAction,
|
|
|
-
|
|
|
// State & Scheduling
|
|
|
|
|
|
play: function() {
|
|
@@ -38086,8 +37998,6 @@ function AnimationMixer( root ) {
|
|
|
|
|
|
Object.assign( AnimationMixer.prototype, EventDispatcher.prototype, {
|
|
|
|
|
|
- constructor: AnimationMixer,
|
|
|
-
|
|
|
_bindAction: function ( action, prototypeAction ) {
|
|
|
|
|
|
var root = action._localRoot || this._root,
|
|
@@ -38921,8 +38831,6 @@ Object.defineProperties( InterleavedBufferAttribute.prototype, {
|
|
|
|
|
|
Object.assign( InterleavedBufferAttribute.prototype, {
|
|
|
|
|
|
- constructor: InterleavedBufferAttribute,
|
|
|
-
|
|
|
isInterleavedBufferAttribute: true,
|
|
|
|
|
|
setX: function ( index, x ) {
|
|
@@ -39052,8 +38960,6 @@ Object.defineProperty( InterleavedBuffer.prototype, "needsUpdate", {
|
|
|
|
|
|
Object.assign( InterleavedBuffer.prototype, {
|
|
|
|
|
|
- constructor: InterleavedBuffer,
|
|
|
-
|
|
|
isInterleavedBuffer: true,
|
|
|
|
|
|
setArray: function ( array ) {
|
|
@@ -39244,8 +39150,6 @@ function intersectObject( object, raycaster, intersects, recursive ) {
|
|
|
|
|
|
Object.assign( Raycaster.prototype, {
|
|
|
|
|
|
- constructor: Raycaster,
|
|
|
-
|
|
|
linePrecision: 1,
|
|
|
|
|
|
set: function ( origin, direction ) {
|
|
@@ -39331,8 +39235,6 @@ function Clock( autoStart ) {
|
|
|
|
|
|
Object.assign( Clock.prototype, {
|
|
|
|
|
|
- constructor: Clock,
|
|
|
-
|
|
|
start: function () {
|
|
|
|
|
|
this.startTime = ( performance || Date ).now();
|
|
@@ -39406,8 +39308,6 @@ function Spherical( radius, phi, theta ) {
|
|
|
|
|
|
Object.assign( Spherical.prototype, {
|
|
|
|
|
|
- constructor: Spherical,
|
|
|
-
|
|
|
set: function ( radius, phi, theta ) {
|
|
|
|
|
|
this.radius = radius;
|
|
@@ -39485,8 +39385,6 @@ function Cylindrical( radius, theta, y ) {
|
|
|
|
|
|
Object.assign( Cylindrical.prototype, {
|
|
|
|
|
|
- constructor: Cylindrical,
|
|
|
-
|
|
|
set: function ( radius, theta, y ) {
|
|
|
|
|
|
this.radius = radius;
|