浏览代码

Clean up.

Mr.doob 9 年之前
父节点
当前提交
9147f32ca2
共有 100 个文件被更改,包括 106 次插入106 次删除
  1. 1 1
      src/animation/AnimationAction.js
  2. 1 1
      src/animation/AnimationClip.js
  3. 1 1
      src/animation/AnimationMixer.js
  4. 1 1
      src/animation/AnimationObjectGroup.js
  5. 4 2
      src/animation/KeyframeTrack.js
  6. 1 1
      src/animation/PropertyBinding.js
  7. 1 1
      src/animation/PropertyMixer.js
  8. 1 1
      src/animation/tracks/BooleanKeyframeTrack.js
  9. 1 1
      src/animation/tracks/ColorKeyframeTrack.js
  10. 1 1
      src/animation/tracks/NumberKeyframeTrack.js
  11. 1 1
      src/animation/tracks/QuaternionKeyframeTrack.js
  12. 1 1
      src/animation/tracks/StringKeyframeTrack.js
  13. 1 1
      src/animation/tracks/VectorKeyframeTrack.js
  14. 1 1
      src/cameras/Camera.js
  15. 1 1
      src/cameras/CubeCamera.js
  16. 1 1
      src/cameras/OrthographicCamera.js
  17. 1 1
      src/cameras/PerspectiveCamera.js
  18. 1 1
      src/cameras/StereoCamera.js
  19. 1 1
      src/core/BufferGeometry.js
  20. 1 1
      src/core/Clock.js
  21. 1 1
      src/core/DirectGeometry.js
  22. 1 1
      src/core/Face3.js
  23. 1 1
      src/core/Geometry.js
  24. 1 1
      src/core/InstancedBufferAttribute.js
  25. 1 1
      src/core/InstancedBufferGeometry.js
  26. 1 1
      src/core/InstancedInterleavedBuffer.js
  27. 1 1
      src/core/InterleavedBuffer.js
  28. 1 1
      src/core/InterleavedBufferAttribute.js
  29. 1 1
      src/core/Layers.js
  30. 1 1
      src/core/Object3D.js
  31. 1 1
      src/core/Raycaster.js
  32. 1 1
      src/core/Uniform.js
  33. 1 1
      src/extras/core/CurvePath.js
  34. 1 1
      src/extras/core/Font.js
  35. 1 1
      src/extras/core/Path.js
  36. 1 1
      src/extras/core/PathPrototype.js
  37. 1 1
      src/extras/core/Shape.js
  38. 1 1
      src/extras/curves/ArcCurve.js
  39. 1 1
      src/extras/curves/ClosedSplineCurve3.js
  40. 1 1
      src/extras/curves/CubicBezierCurve.js
  41. 1 1
      src/extras/curves/EllipseCurve.js
  42. 1 1
      src/extras/curves/LineCurve.js
  43. 1 1
      src/extras/curves/QuadraticBezierCurve.js
  44. 2 2
      src/extras/curves/SplineCurve.js
  45. 1 1
      src/extras/curves/SplineCurve3.js
  46. 1 1
      src/extras/geometries/BoxBufferGeometry.js
  47. 1 1
      src/extras/geometries/BoxGeometry.js
  48. 1 1
      src/extras/geometries/CircleBufferGeometry.js
  49. 1 1
      src/extras/geometries/CircleGeometry.js
  50. 1 1
      src/extras/geometries/ConeBufferGeometry.js
  51. 1 1
      src/extras/geometries/ConeGeometry.js
  52. 1 1
      src/extras/geometries/CylinderBufferGeometry.js
  53. 1 1
      src/extras/geometries/CylinderGeometry.js
  54. 1 1
      src/extras/geometries/DodecahedronGeometry.js
  55. 1 1
      src/extras/geometries/EdgesGeometry.js
  56. 1 1
      src/extras/geometries/ExtrudeGeometry.js
  57. 1 1
      src/extras/geometries/IcosahedronGeometry.js
  58. 1 1
      src/extras/geometries/LatheBufferGeometry.js
  59. 1 1
      src/extras/geometries/LatheGeometry.js
  60. 1 1
      src/extras/geometries/OctahedronGeometry.js
  61. 1 1
      src/extras/geometries/ParametricGeometry.js
  62. 1 1
      src/extras/geometries/PlaneBufferGeometry.js
  63. 1 1
      src/extras/geometries/PlaneGeometry.js
  64. 1 2
      src/extras/geometries/PolyhedronGeometry.js
  65. 1 1
      src/extras/geometries/RingBufferGeometry.js
  66. 1 1
      src/extras/geometries/RingGeometry.js
  67. 1 1
      src/extras/geometries/ShapeGeometry.js
  68. 1 1
      src/extras/geometries/SphereBufferGeometry.js
  69. 1 1
      src/extras/geometries/SphereGeometry.js
  70. 1 1
      src/extras/geometries/TetrahedronGeometry.js
  71. 1 1
      src/extras/geometries/TextGeometry.js
  72. 1 1
      src/extras/geometries/TorusBufferGeometry.js
  73. 1 1
      src/extras/geometries/TorusGeometry.js
  74. 1 1
      src/extras/geometries/TorusKnotBufferGeometry.js
  75. 1 1
      src/extras/geometries/TorusKnotGeometry.js
  76. 1 1
      src/extras/geometries/TubeGeometry.js
  77. 1 1
      src/extras/geometries/WireframeGeometry.js
  78. 1 1
      src/extras/helpers/AxisHelper.js
  79. 1 1
      src/extras/helpers/BoundingBoxHelper.js
  80. 1 1
      src/extras/helpers/BoxHelper.js
  81. 1 1
      src/extras/helpers/CameraHelper.js
  82. 1 1
      src/extras/helpers/DirectionalLightHelper.js
  83. 1 1
      src/extras/helpers/EdgesHelper.js
  84. 1 1
      src/extras/helpers/FaceNormalsHelper.js
  85. 1 1
      src/extras/helpers/GridHelper.js
  86. 1 1
      src/extras/helpers/HemisphereLightHelper.js
  87. 1 1
      src/extras/helpers/PointLightHelper.js
  88. 1 1
      src/extras/helpers/SkeletonHelper.js
  89. 1 1
      src/extras/helpers/SpotLightHelper.js
  90. 1 1
      src/extras/helpers/VertexNormalsHelper.js
  91. 1 1
      src/extras/helpers/WireframeHelper.js
  92. 1 1
      src/extras/objects/ImmediateRenderObject.js
  93. 1 1
      src/extras/objects/MorphBlendMesh.js
  94. 1 1
      src/lights/AmbientLight.js
  95. 1 1
      src/lights/DirectionalLight.js
  96. 1 1
      src/lights/DirectionalLightShadow.js
  97. 1 1
      src/lights/HemisphereLight.js
  98. 1 1
      src/lights/Light.js
  99. 3 4
      src/lights/LightShadow.js
  100. 1 1
      src/lights/PointLight.js

+ 1 - 1
src/animation/AnimationAction.js

@@ -16,7 +16,7 @@ function AnimationAction() {
 	throw new Error( "THREE.AnimationAction: " +
 			"Use mixer.clipAction for construction." );
 
-};
+}
 
 AnimationAction._new =
 		function AnimationAction( mixer, clip, localRoot ) {

+ 1 - 1
src/animation/AnimationClip.js

@@ -33,7 +33,7 @@ function AnimationClip( name, duration, tracks ) {
 	this.trim();
 	this.optimize();
 
-};
+}
 
 AnimationClip.prototype = {
 

+ 1 - 1
src/animation/AnimationMixer.js

@@ -25,7 +25,7 @@ function AnimationMixer( root ) {
 
 	this.timeScale = 1.0;
 
-};
+}
 
 Object.assign( AnimationMixer.prototype, EventDispatcher.prototype, {
 

+ 1 - 1
src/animation/AnimationObjectGroup.js

@@ -69,7 +69,7 @@ function AnimationObjectGroup( var_args ) {
 
 	};
 
-};
+}
 
 AnimationObjectGroup.prototype = {
 

+ 4 - 2
src/animation/KeyframeTrack.js

@@ -19,8 +19,10 @@ import { KeyframeTrackConstructor } from './KeyframeTrackConstructor';
  */
 
 function KeyframeTrack( name, times, values, interpolation ) {
+
 	KeyframeTrackConstructor.apply( this, arguments );
-};
+
+}
 
 KeyframeTrack.prototype = KeyframeTrackPrototype;
 KeyframeTrackPrototype.constructor = KeyframeTrack;
@@ -151,4 +153,4 @@ Object.assign( KeyframeTrack, {
 } );
 
 
-export { KeyframeTrack };
+export { KeyframeTrack };

+ 1 - 1
src/animation/PropertyBinding.js

@@ -19,7 +19,7 @@ function PropertyBinding( rootNode, path, parsedPath ) {
 
 	this.rootNode = rootNode;
 
-};
+}
 
 PropertyBinding.prototype = {
 

+ 1 - 1
src/animation/PropertyMixer.js

@@ -50,7 +50,7 @@ function PropertyMixer( binding, typeName, valueSize ) {
 	this.useCount = 0;
 	this.referenceCount = 0;
 
-};
+}
 
 PropertyMixer.prototype = {
 

+ 1 - 1
src/animation/tracks/BooleanKeyframeTrack.js

@@ -16,7 +16,7 @@ function BooleanKeyframeTrack( name, times, values ) {
 
 	KeyframeTrackConstructor.call( this, name, times, values );
 
-};
+}
 
 BooleanKeyframeTrack.prototype =
 		Object.assign( Object.create( KeyframeTrackPrototype ), {

+ 1 - 1
src/animation/tracks/ColorKeyframeTrack.js

@@ -15,7 +15,7 @@ function ColorKeyframeTrack( name, times, values, interpolation ) {
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );
 
-};
+}
 
 ColorKeyframeTrack.prototype =
 		Object.assign( Object.create( KeyframeTrackPrototype ), {

+ 1 - 1
src/animation/tracks/NumberKeyframeTrack.js

@@ -14,7 +14,7 @@ function NumberKeyframeTrack( name, times, values, interpolation ) {
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );
 
-};
+}
 
 NumberKeyframeTrack.prototype =
 		Object.assign( Object.create( KeyframeTrackPrototype ), {

+ 1 - 1
src/animation/tracks/QuaternionKeyframeTrack.js

@@ -16,7 +16,7 @@ function QuaternionKeyframeTrack( name, times, values, interpolation ) {
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );
 
-};
+}
 
 QuaternionKeyframeTrack.prototype =
 		Object.assign( Object.create( KeyframeTrackPrototype ), {

+ 1 - 1
src/animation/tracks/StringKeyframeTrack.js

@@ -16,7 +16,7 @@ function StringKeyframeTrack( name, times, values, interpolation ) {
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );
 
-};
+}
 
 StringKeyframeTrack.prototype =
 		Object.assign( Object.create( KeyframeTrackPrototype ), {

+ 1 - 1
src/animation/tracks/VectorKeyframeTrack.js

@@ -15,7 +15,7 @@ function VectorKeyframeTrack( name, times, values, interpolation ) {
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );
 
-};
+}
 
 VectorKeyframeTrack.prototype =
 		Object.assign( Object.create( KeyframeTrackPrototype ), {

+ 1 - 1
src/cameras/Camera.js

@@ -18,7 +18,7 @@ function Camera() {
 	this.matrixWorldInverse = new Matrix4();
 	this.projectionMatrix = new Matrix4();
 
-};
+}
 
 Camera.prototype = Object.create( Object3D.prototype );
 Camera.prototype.constructor = Camera;

+ 1 - 1
src/cameras/CubeCamera.js

@@ -86,7 +86,7 @@ function CubeCamera( near, far, cubeResolution ) {
 
 	};
 
-};
+}
 
 CubeCamera.prototype = Object.create( Object3D.prototype );
 CubeCamera.prototype.constructor = CubeCamera;

+ 1 - 1
src/cameras/OrthographicCamera.js

@@ -25,7 +25,7 @@ function OrthographicCamera( left, right, top, bottom, near, far ) {
 
 	this.updateProjectionMatrix();
 
-};
+}
 
 OrthographicCamera.prototype = Object.assign( Object.create( Camera.prototype ), {
 

+ 1 - 1
src/cameras/PerspectiveCamera.js

@@ -30,7 +30,7 @@ function PerspectiveCamera( fov, aspect, near, far ) {
 
 	this.updateProjectionMatrix();
 
-};
+}
 
 PerspectiveCamera.prototype = Object.assign( Object.create( Camera.prototype ), {
 

+ 1 - 1
src/cameras/StereoCamera.js

@@ -22,7 +22,7 @@ function StereoCamera() {
 	this.cameraR.layers.enable( 2 );
 	this.cameraR.matrixAutoUpdate = false;
 
-};
+}
 
 Object.assign( StereoCamera.prototype, {
 

+ 1 - 1
src/core/BufferGeometry.js

@@ -36,7 +36,7 @@ function BufferGeometry() {
 
 	this.drawRange = { start: 0, count: Infinity };
 
-};
+}
 
 Object.assign( BufferGeometry.prototype, EventDispatcher.prototype, {
 

+ 1 - 1
src/core/Clock.js

@@ -12,7 +12,7 @@ function Clock( autoStart ) {
 
 	this.running = false;
 
-};
+}
 
 Clock.prototype = {
 

+ 1 - 1
src/core/DirectGeometry.js

@@ -44,7 +44,7 @@ function DirectGeometry() {
 	this.uvsNeedUpdate = false;
 	this.groupsNeedUpdate = false;
 
-};
+}
 
 Object.assign( DirectGeometry.prototype, EventDispatcher.prototype, {
 

+ 1 - 1
src/core/Face3.js

@@ -20,7 +20,7 @@ function Face3( a, b, c, normal, color, materialIndex ) {
 
 	this.materialIndex = materialIndex !== undefined ? materialIndex : 0;
 
-};
+}
 
 Face3.prototype = {
 

+ 1 - 1
src/core/Geometry.js

@@ -54,7 +54,7 @@ function Geometry() {
 	this.lineDistancesNeedUpdate = false;
 	this.groupsNeedUpdate = false;
 
-};
+}
 
 Object.assign( Geometry.prototype, EventDispatcher.prototype, {
 

+ 1 - 1
src/core/InstancedBufferAttribute.js

@@ -10,7 +10,7 @@ function InstancedBufferAttribute( array, itemSize, meshPerAttribute ) {
 
 	this.meshPerAttribute = meshPerAttribute || 1;
 
-};
+}
 
 InstancedBufferAttribute.prototype = Object.create( BufferAttribute.prototype );
 InstancedBufferAttribute.prototype.constructor = InstancedBufferAttribute;

+ 1 - 1
src/core/InstancedBufferGeometry.js

@@ -11,7 +11,7 @@ function InstancedBufferGeometry() {
 	this.type = 'InstancedBufferGeometry';
 	this.maxInstancedCount = undefined;
 
-};
+}
 
 InstancedBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 InstancedBufferGeometry.prototype.constructor = InstancedBufferGeometry;

+ 1 - 1
src/core/InstancedInterleavedBuffer.js

@@ -10,7 +10,7 @@ function InstancedInterleavedBuffer( array, stride, meshPerAttribute ) {
 
 	this.meshPerAttribute = meshPerAttribute || 1;
 
-};
+}
 
 InstancedInterleavedBuffer.prototype = Object.create( InterleavedBuffer.prototype );
 InstancedInterleavedBuffer.prototype.constructor = InstancedInterleavedBuffer;

+ 1 - 1
src/core/InterleavedBuffer.js

@@ -16,7 +16,7 @@ function InterleavedBuffer( array, stride ) {
 
 	this.version = 0;
 
-};
+}
 
 InterleavedBuffer.prototype = {
 

+ 1 - 1
src/core/InterleavedBufferAttribute.js

@@ -14,7 +14,7 @@ function InterleavedBufferAttribute( interleavedBuffer, itemSize, offset, normal
 
 	this.normalized = normalized === true;
 
-};
+}
 
 
 InterleavedBufferAttribute.prototype = {

+ 1 - 1
src/core/Layers.js

@@ -6,7 +6,7 @@ function Layers() {
 
 	this.mask = 1;
 
-};
+}
 
 Layers.prototype = {
 

+ 1 - 1
src/core/Object3D.js

@@ -91,7 +91,7 @@ function Object3D() {
 
 	this.userData = {};
 
-};
+}
 
 Object3D.DefaultUp = new Vector3( 0, 1, 0 );
 Object3D.DefaultMatrixAutoUpdate = true;

+ 1 - 1
src/core/Raycaster.js

@@ -31,7 +31,7 @@ function Raycaster( origin, direction, near, far ) {
 		}
 	} );
 
-};
+}
 
 function ascSort( a, b ) {
 

+ 1 - 1
src/core/Uniform.js

@@ -15,7 +15,7 @@ function Uniform( value ) {
 
 	this.dynamic = false;
 
-};
+}
 
 Uniform.prototype = {
 

+ 1 - 1
src/extras/core/CurvePath.js

@@ -19,7 +19,7 @@ function CurvePath() {
 
 	this.autoClose = false; // Automatically closes the path
 
-};
+}
 
 CurvePath.prototype = Object.assign( Object.create( Curve.prototype ), {
 

+ 1 - 1
src/extras/core/Font.js

@@ -10,7 +10,7 @@ function Font( data ) {
 
 	this.data = data;
 
-};
+}
 
 Object.assign( Font.prototype, {
 

+ 1 - 1
src/extras/core/Path.js

@@ -21,7 +21,7 @@ function Path( points ) {
 
 	}
 
-};
+}
 
 Path.prototype = PathPrototype;
 PathPrototype.constructor = Path;

+ 1 - 1
src/extras/core/PathPrototype.js

@@ -124,6 +124,6 @@ var PathPrototype = Object.assign( Object.create( CurvePath.prototype ), {
 
 	}
 
-} )
+} );
 
 export { PathPrototype };

+ 1 - 1
src/extras/core/Shape.js

@@ -20,7 +20,7 @@ function Shape() {
 
 	this.holes = [];
 
-};
+}
 
 Shape.prototype = Object.assign( Object.create( PathPrototype ), {
 

+ 1 - 1
src/extras/curves/ArcCurve.js

@@ -8,7 +8,7 @@ function ArcCurve( aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise ) {
 
 	EllipseCurve.call( this, aX, aY, aRadius, aRadius, aStartAngle, aEndAngle, aClockwise );
 
-};
+}
 
 ArcCurve.prototype = Object.create( EllipseCurve.prototype );
 ArcCurve.prototype.constructor = ArcCurve;

+ 1 - 1
src/extras/curves/ClosedSplineCurve3.js

@@ -13,7 +13,7 @@ function ClosedSplineCurve3( points ) {
 	this.type = 'catmullrom';
 	this.closed = true;
 
-};
+}
 
 ClosedSplineCurve3.prototype = Object.create( CatmullRomCurve3.prototype );
 

+ 1 - 1
src/extras/curves/CubicBezierCurve.js

@@ -14,7 +14,7 @@ function CubicBezierCurve( v0, v1, v2, v3 ) {
 	this.v2 = v2;
 	this.v3 = v3;
 
-};
+}
 
 CubicBezierCurve.prototype = Object.create( Curve.prototype );
 CubicBezierCurve.prototype.constructor = CubicBezierCurve;

+ 1 - 1
src/extras/curves/EllipseCurve.js

@@ -20,7 +20,7 @@ function EllipseCurve( aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockw
 
 	this.aRotation = aRotation || 0;
 
-};
+}
 
 EllipseCurve.prototype = Object.create( Curve.prototype );
 EllipseCurve.prototype.constructor = EllipseCurve;

+ 1 - 1
src/extras/curves/LineCurve.js

@@ -9,7 +9,7 @@ function LineCurve( v1, v2 ) {
 	this.v1 = v1;
 	this.v2 = v2;
 
-};
+}
 
 LineCurve.prototype = Object.create( Curve.prototype );
 LineCurve.prototype.constructor = LineCurve;

+ 1 - 1
src/extras/curves/QuadraticBezierCurve.js

@@ -14,7 +14,7 @@ function QuadraticBezierCurve( v0, v1, v2 ) {
 	this.v1 = v1;
 	this.v2 = v2;
 
-};
+}
 
 QuadraticBezierCurve.prototype = Object.create( Curve.prototype );
 QuadraticBezierCurve.prototype.constructor = QuadraticBezierCurve;

+ 2 - 2
src/extras/curves/SplineCurve.js

@@ -8,9 +8,9 @@ import { CurveUtils } from '../CurveUtils';
 
 function SplineCurve( points /* array of Vector2 */ ) {
 
-	this.points = ( points == undefined ) ? [] : points;
+	this.points = ( points === undefined ) ? [] : points;
 
-};
+}
 
 SplineCurve.prototype = Object.create( Curve.prototype );
 SplineCurve.prototype.constructor = SplineCurve;

+ 1 - 1
src/extras/curves/SplineCurve3.js

@@ -12,7 +12,7 @@ var SplineCurve3 = Curve.create(
 	function ( points /* array of Vector3 */ ) {
 
 		console.warn( 'THREE.SplineCurve3 will be deprecated. Please use THREE.CatmullRomCurve3' );
-		this.points = ( points == undefined ) ? [] : points;
+		this.points = ( points === undefined ) ? [] : points;
 
 	},
 

+ 1 - 1
src/extras/geometries/BoxBufferGeometry.js

@@ -192,7 +192,7 @@ function BoxBufferGeometry( width, height, depth, widthSegments, heightSegments,
 
 	}
 
-};
+}
 
 BoxBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 BoxBufferGeometry.prototype.constructor = BoxBufferGeometry;

+ 1 - 1
src/extras/geometries/BoxGeometry.js

@@ -26,7 +26,7 @@ function BoxGeometry( width, height, depth, widthSegments, heightSegments, depth
 	this.fromBufferGeometry( new BoxBufferGeometry( width, height, depth, widthSegments, heightSegments, depthSegments ) );
 	this.mergeVertices();
 
-};
+}
 
 BoxGeometry.prototype = Object.create( Geometry.prototype );
 BoxGeometry.prototype.constructor = BoxGeometry;

+ 1 - 1
src/extras/geometries/CircleBufferGeometry.js

@@ -66,7 +66,7 @@ function CircleBufferGeometry( radius, segments, thetaStart, thetaLength ) {
 
 	this.boundingSphere = new Sphere( new Vector3(), radius );
 
-};
+}
 
 CircleBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 CircleBufferGeometry.prototype.constructor = CircleBufferGeometry;

+ 1 - 1
src/extras/geometries/CircleGeometry.js

@@ -20,7 +20,7 @@ function CircleGeometry( radius, segments, thetaStart, thetaLength ) {
 
 	this.fromBufferGeometry( new CircleBufferGeometry( radius, segments, thetaStart, thetaLength ) );
 
-};
+}
 
 CircleGeometry.prototype = Object.create( Geometry.prototype );
 CircleGeometry.prototype.constructor = CircleGeometry;

+ 1 - 1
src/extras/geometries/ConeBufferGeometry.js

@@ -26,7 +26,7 @@ function ConeBufferGeometry(
 		thetaLength: thetaLength
 	};
 
-};
+}
 
 ConeBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 ConeBufferGeometry.prototype.constructor = ConeBufferGeometry;

+ 1 - 1
src/extras/geometries/ConeGeometry.js

@@ -26,7 +26,7 @@ function ConeGeometry(
 		thetaLength: thetaLength
 	};
 
-};
+}
 
 ConeGeometry.prototype = Object.create( CylinderGeometry.prototype );
 ConeGeometry.prototype.constructor = ConeGeometry;

+ 1 - 1
src/extras/geometries/CylinderBufferGeometry.js

@@ -322,7 +322,7 @@ function CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments
 
 	}
 
-};
+}
 
 CylinderBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 CylinderBufferGeometry.prototype.constructor = CylinderBufferGeometry;

+ 1 - 1
src/extras/geometries/CylinderGeometry.js

@@ -25,7 +25,7 @@ function CylinderGeometry( radiusTop, radiusBottom, height, radialSegments, heig
 	this.fromBufferGeometry( new CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) );
 	this.mergeVertices();
 
-};
+}
 
 CylinderGeometry.prototype = Object.create( Geometry.prototype );
 CylinderGeometry.prototype.constructor = CylinderGeometry;

+ 1 - 1
src/extras/geometries/DodecahedronGeometry.js

@@ -54,7 +54,7 @@ function DodecahedronGeometry( radius, detail ) {
 		detail: detail
 	};
 
-};
+}
 
 DodecahedronGeometry.prototype = Object.create( PolyhedronGeometry.prototype );
 DodecahedronGeometry.prototype.constructor = DodecahedronGeometry;

+ 1 - 1
src/extras/geometries/EdgesGeometry.js

@@ -94,7 +94,7 @@ function EdgesGeometry( geometry, thresholdAngle ) {
 
 	this.addAttribute( 'position', new BufferAttribute( new Float32Array( coords ), 3 ) );
 
-};
+}
 
 EdgesGeometry.prototype = Object.create( BufferGeometry.prototype );
 EdgesGeometry.prototype.constructor = EdgesGeometry;

+ 1 - 1
src/extras/geometries/ExtrudeGeometry.js

@@ -56,7 +56,7 @@ function ExtrudeGeometry( shapes, options ) {
 
 	//console.log( "took", ( Date.now() - startTime ) );
 
-};
+}
 
 ExtrudeGeometry.prototype = Object.create( Geometry.prototype );
 ExtrudeGeometry.prototype.constructor = ExtrudeGeometry;

+ 1 - 1
src/extras/geometries/IcosahedronGeometry.js

@@ -30,7 +30,7 @@ function IcosahedronGeometry( radius, detail ) {
 		detail: detail
 	};
 
-};
+}
 
 IcosahedronGeometry.prototype = Object.create( PolyhedronGeometry.prototype );
 IcosahedronGeometry.prototype.constructor = IcosahedronGeometry;

+ 1 - 1
src/extras/geometries/LatheBufferGeometry.js

@@ -155,7 +155,7 @@ function LatheBufferGeometry( points, segments, phiStart, phiLength ) {
 
 	}
 
-};
+}
 
 LatheBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 LatheBufferGeometry.prototype.constructor = LatheBufferGeometry;

+ 1 - 1
src/extras/geometries/LatheGeometry.js

@@ -30,7 +30,7 @@ function LatheGeometry( points, segments, phiStart, phiLength ) {
 	this.fromBufferGeometry( new LatheBufferGeometry( points, segments, phiStart, phiLength ) );
 	this.mergeVertices();
 
-};
+}
 
 LatheGeometry.prototype = Object.create( Geometry.prototype );
 LatheGeometry.prototype.constructor = LatheGeometry;

+ 1 - 1
src/extras/geometries/OctahedronGeometry.js

@@ -23,7 +23,7 @@ function OctahedronGeometry( radius, detail ) {
 		detail: detail
 	};
 
-};
+}
 
 OctahedronGeometry.prototype = Object.create( PolyhedronGeometry.prototype );
 OctahedronGeometry.prototype.constructor = OctahedronGeometry;

+ 1 - 1
src/extras/geometries/ParametricGeometry.js

@@ -83,7 +83,7 @@ function ParametricGeometry( func, slices, stacks ) {
 	this.computeFaceNormals();
 	this.computeVertexNormals();
 
-};
+}
 
 ParametricGeometry.prototype = Object.create( Geometry.prototype );
 ParametricGeometry.prototype.constructor = ParametricGeometry;

+ 1 - 1
src/extras/geometries/PlaneBufferGeometry.js

@@ -93,7 +93,7 @@ function PlaneBufferGeometry( width, height, widthSegments, heightSegments ) {
 	this.addAttribute( 'normal', new BufferAttribute( normals, 3 ) );
 	this.addAttribute( 'uv', new BufferAttribute( uvs, 2 ) );
 
-};
+}
 
 PlaneBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 PlaneBufferGeometry.prototype.constructor = PlaneBufferGeometry;

+ 1 - 1
src/extras/geometries/PlaneGeometry.js

@@ -21,7 +21,7 @@ function PlaneGeometry( width, height, widthSegments, heightSegments ) {
 
 	this.fromBufferGeometry( new PlaneBufferGeometry( width, height, widthSegments, heightSegments ) );
 
-};
+}
 
 PlaneGeometry.prototype = Object.create( Geometry.prototype );
 PlaneGeometry.prototype.constructor = PlaneGeometry;

+ 1 - 2
src/extras/geometries/PolyhedronGeometry.js

@@ -236,8 +236,7 @@ function PolyhedronGeometry( vertices, indices, radius, detail ) {
 
 	}
 
-
-};
+}
 
 PolyhedronGeometry.prototype = Object.create( Geometry.prototype );
 PolyhedronGeometry.prototype.constructor = PolyhedronGeometry;

+ 1 - 1
src/extras/geometries/RingBufferGeometry.js

@@ -119,7 +119,7 @@ function RingBufferGeometry( innerRadius, outerRadius, thetaSegments, phiSegment
 	this.addAttribute( 'normal', normals );
 	this.addAttribute( 'uv', uvs );
 
-};
+}
 
 RingBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 RingBufferGeometry.prototype.constructor = RingBufferGeometry;

+ 1 - 1
src/extras/geometries/RingGeometry.js

@@ -22,7 +22,7 @@ function RingGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, the
 
 	this.fromBufferGeometry( new RingBufferGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) );
 
-};
+}
 
 RingGeometry.prototype = Object.create( Geometry.prototype );
 RingGeometry.prototype.constructor = RingGeometry;

+ 1 - 1
src/extras/geometries/ShapeGeometry.js

@@ -32,7 +32,7 @@ function ShapeGeometry( shapes, options ) {
 
 	this.computeFaceNormals();
 
-};
+}
 
 ShapeGeometry.prototype = Object.create( Geometry.prototype );
 ShapeGeometry.prototype.constructor = ShapeGeometry;

+ 1 - 1
src/extras/geometries/SphereBufferGeometry.js

@@ -100,7 +100,7 @@ function SphereBufferGeometry( radius, widthSegments, heightSegments, phiStart,
 
 	this.boundingSphere = new Sphere( new Vector3(), radius );
 
-};
+}
 
 SphereBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 SphereBufferGeometry.prototype.constructor = SphereBufferGeometry;

+ 1 - 1
src/extras/geometries/SphereGeometry.js

@@ -23,7 +23,7 @@ function SphereGeometry( radius, widthSegments, heightSegments, phiStart, phiLen
 
 	this.fromBufferGeometry( new SphereBufferGeometry( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) );
 
-};
+}
 
 SphereGeometry.prototype = Object.create( Geometry.prototype );
 SphereGeometry.prototype.constructor = SphereGeometry;

+ 1 - 1
src/extras/geometries/TetrahedronGeometry.js

@@ -23,7 +23,7 @@ function TetrahedronGeometry( radius, detail ) {
 		detail: detail
 	};
 
-};
+}
 
 TetrahedronGeometry.prototype = Object.create( PolyhedronGeometry.prototype );
 TetrahedronGeometry.prototype.constructor = TetrahedronGeometry;

+ 1 - 1
src/extras/geometries/TextGeometry.js

@@ -49,7 +49,7 @@ function TextGeometry( text, parameters ) {
 
 	this.type = 'TextGeometry';
 
-};
+}
 
 TextGeometry.prototype = Object.create( ExtrudeGeometry.prototype );
 TextGeometry.prototype.constructor = TextGeometry;

+ 1 - 1
src/extras/geometries/TorusBufferGeometry.js

@@ -124,7 +124,7 @@ function TorusBufferGeometry( radius, tube, radialSegments, tubularSegments, arc
 	this.addAttribute( 'normal', new BufferAttribute( normals, 3 ) );
 	this.addAttribute( 'uv', new BufferAttribute( uvs, 2 ) );
 
-};
+}
 
 TorusBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 TorusBufferGeometry.prototype.constructor = TorusBufferGeometry;

+ 1 - 1
src/extras/geometries/TorusGeometry.js

@@ -23,7 +23,7 @@ function TorusGeometry( radius, tube, radialSegments, tubularSegments, arc ) {
 
 	this.fromBufferGeometry( new TorusBufferGeometry( radius, tube, radialSegments, tubularSegments, arc ) );
 
-};
+}
 
 TorusGeometry.prototype = Object.create( Geometry.prototype );
 TorusGeometry.prototype.constructor = TorusGeometry;

+ 1 - 1
src/extras/geometries/TorusKnotBufferGeometry.js

@@ -163,7 +163,7 @@ function TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments,
 
 	}
 
-};
+}
 
 TorusKnotBufferGeometry.prototype = Object.create( BufferGeometry.prototype );
 TorusKnotBufferGeometry.prototype.constructor = TorusKnotBufferGeometry;

+ 1 - 1
src/extras/geometries/TorusKnotGeometry.js

@@ -25,7 +25,7 @@ function TorusKnotGeometry( radius, tube, tubularSegments, radialSegments, p, q,
 	this.fromBufferGeometry( new TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments, p, q ) );
 	this.mergeVertices();
 
-};
+}
 
 TorusKnotGeometry.prototype = Object.create( Geometry.prototype );
 TorusKnotGeometry.prototype.constructor = TorusKnotGeometry;

+ 1 - 1
src/extras/geometries/TubeGeometry.js

@@ -142,7 +142,7 @@ function TubeGeometry( path, segments, radius, radialSegments, closed, taper ) {
 	this.computeFaceNormals();
 	this.computeVertexNormals();
 
-};
+}
 
 TubeGeometry.prototype = Object.create( Geometry.prototype );
 TubeGeometry.prototype.constructor = TubeGeometry;

+ 1 - 1
src/extras/geometries/WireframeGeometry.js

@@ -179,7 +179,7 @@ function WireframeGeometry( geometry ) {
 
 	}
 
-};
+}
 
 WireframeGeometry.prototype = Object.create( BufferGeometry.prototype );
 WireframeGeometry.prototype.constructor = WireframeGeometry;

+ 1 - 1
src/extras/helpers/AxisHelper.js

@@ -33,7 +33,7 @@ function AxisHelper( size ) {
 
 	LineSegments.call( this, geometry, material );
 
-};
+}
 
 AxisHelper.prototype = Object.create( LineSegments.prototype );
 AxisHelper.prototype.constructor = AxisHelper;

+ 1 - 1
src/extras/helpers/BoundingBoxHelper.js

@@ -19,7 +19,7 @@ function BoundingBoxHelper( object, hex ) {
 
 	Mesh.call( this, new BoxGeometry( 1, 1, 1 ), new MeshBasicMaterial( { color: color, wireframe: true } ) );
 
-};
+}
 
 BoundingBoxHelper.prototype = Object.create( Mesh.prototype );
 BoundingBoxHelper.prototype.constructor = BoundingBoxHelper;

+ 1 - 1
src/extras/helpers/BoxHelper.js

@@ -27,7 +27,7 @@ function BoxHelper( object, color ) {
 
 	}
 
-};
+}
 
 BoxHelper.prototype = Object.create( LineSegments.prototype );
 BoxHelper.prototype.constructor = BoxHelper;

+ 1 - 1
src/extras/helpers/CameraHelper.js

@@ -111,7 +111,7 @@ function CameraHelper( camera ) {
 
 	this.update();
 
-};
+}
 
 CameraHelper.prototype = Object.create( LineSegments.prototype );
 CameraHelper.prototype.constructor = CameraHelper;

+ 1 - 1
src/extras/helpers/DirectionalLightHelper.js

@@ -43,7 +43,7 @@ function DirectionalLightHelper( light, size ) {
 
 	this.update();
 
-};
+}
 
 DirectionalLightHelper.prototype = Object.create( Object3D.prototype );
 DirectionalLightHelper.prototype.constructor = DirectionalLightHelper;

+ 1 - 1
src/extras/helpers/EdgesHelper.js

@@ -21,7 +21,7 @@ function EdgesHelper( object, hex, thresholdAngle ) {
 	this.matrix = object.matrixWorld;
 	this.matrixAutoUpdate = false;
 
-};
+}
 
 EdgesHelper.prototype = Object.create( LineSegments.prototype );
 EdgesHelper.prototype.constructor = EdgesHelper;

+ 1 - 1
src/extras/helpers/FaceNormalsHelper.js

@@ -53,7 +53,7 @@ function FaceNormalsHelper( object, size, hex, linewidth ) {
 	this.matrixAutoUpdate = false;
 	this.update();
 
-};
+}
 
 FaceNormalsHelper.prototype = Object.create( LineSegments.prototype );
 FaceNormalsHelper.prototype.constructor = FaceNormalsHelper;

+ 1 - 1
src/extras/helpers/GridHelper.js

@@ -41,7 +41,7 @@ function GridHelper( size, divisions, color1, color2 ) {
 
 	LineSegments.call( this, geometry, material );
 
-};
+}
 
 GridHelper.prototype = Object.create( LineSegments.prototype );
 GridHelper.prototype.constructor = GridHelper;

+ 1 - 1
src/extras/helpers/HemisphereLightHelper.js

@@ -39,7 +39,7 @@ function HemisphereLightHelper( light, sphereSize ) {
 
 	this.update();
 
-};
+}
 
 HemisphereLightHelper.prototype = Object.create( Object3D.prototype );
 HemisphereLightHelper.prototype.constructor = HemisphereLightHelper;

+ 1 - 1
src/extras/helpers/PointLightHelper.js

@@ -43,7 +43,7 @@ function PointLightHelper( light, sphereSize ) {
 	this.add( this.lightDistance );
 	*/
 
-};
+}
 
 PointLightHelper.prototype = Object.create( Mesh.prototype );
 PointLightHelper.prototype.constructor = PointLightHelper;

+ 1 - 1
src/extras/helpers/SkeletonHelper.js

@@ -47,7 +47,7 @@ function SkeletonHelper( object ) {
 
 	this.update();
 
-};
+}
 
 
 SkeletonHelper.prototype = Object.create( LineSegments.prototype );

+ 1 - 1
src/extras/helpers/SpotLightHelper.js

@@ -52,7 +52,7 @@ function SpotLightHelper( light ) {
 
 	this.update();
 
-};
+}
 
 SpotLightHelper.prototype = Object.create( Object3D.prototype );
 SpotLightHelper.prototype.constructor = SpotLightHelper;

+ 1 - 1
src/extras/helpers/VertexNormalsHelper.js

@@ -52,7 +52,7 @@ function VertexNormalsHelper( object, size, hex, linewidth ) {
 
 	this.update();
 
-};
+}
 
 VertexNormalsHelper.prototype = Object.create( LineSegments.prototype );
 VertexNormalsHelper.prototype.constructor = VertexNormalsHelper;

+ 1 - 1
src/extras/helpers/WireframeHelper.js

@@ -15,7 +15,7 @@ function WireframeHelper( object, hex ) {
 	this.matrix = object.matrixWorld;
 	this.matrixAutoUpdate = false;
 
-};
+}
 
 WireframeHelper.prototype = Object.create( LineSegments.prototype );
 WireframeHelper.prototype.constructor = WireframeHelper;

+ 1 - 1
src/extras/objects/ImmediateRenderObject.js

@@ -11,7 +11,7 @@ function ImmediateRenderObject( material ) {
 	this.material = material;
 	this.render = function ( renderCallback ) {};
 
-};
+}
 
 ImmediateRenderObject.prototype = Object.create( Object3D.prototype );
 ImmediateRenderObject.prototype.constructor = ImmediateRenderObject;

+ 1 - 1
src/extras/objects/MorphBlendMesh.js

@@ -27,7 +27,7 @@ function MorphBlendMesh( geometry, material ) {
 	this.createAnimation( name, startFrame, endFrame, fps );
 	this.setAnimationWeight( name, 1 );
 
-};
+}
 
 MorphBlendMesh.prototype = Object.create( Mesh.prototype );
 MorphBlendMesh.prototype.constructor = MorphBlendMesh;

+ 1 - 1
src/lights/AmbientLight.js

@@ -12,7 +12,7 @@ function AmbientLight( color, intensity ) {
 
 	this.castShadow = undefined;
 
-};
+}
 
 AmbientLight.prototype = Object.assign( Object.create( Light.prototype ), {
 

+ 1 - 1
src/lights/DirectionalLight.js

@@ -20,7 +20,7 @@ function DirectionalLight( color, intensity ) {
 
 	this.shadow = new DirectionalLightShadow();
 
-};
+}
 
 DirectionalLight.prototype = Object.assign( Object.create( Light.prototype ), {
 

+ 1 - 1
src/lights/DirectionalLightShadow.js

@@ -9,7 +9,7 @@ function DirectionalLightShadow( light ) {
 
 	LightShadow.call( this, new OrthographicCamera( - 5, 5, 5, - 5, 0.5, 500 ) );
 
-};
+}
 
 DirectionalLightShadow.prototype = Object.assign( Object.create( LightShadow.prototype ), {
 

+ 1 - 1
src/lights/HemisphereLight.js

@@ -19,7 +19,7 @@ function HemisphereLight( skyColor, groundColor, intensity ) {
 
 	this.groundColor = new Color( groundColor );
 
-};
+}
 
 HemisphereLight.prototype = Object.assign( Object.create( Light.prototype ), {
 

+ 1 - 1
src/lights/Light.js

@@ -17,7 +17,7 @@ function Light( color, intensity ) {
 
 	this.receiveShadow = undefined;
 
-};
+}
 
 Light.prototype = Object.assign( Object.create( Object3D.prototype ), {
 

+ 3 - 4
src/lights/LightShadow.js

@@ -17,7 +17,7 @@ function LightShadow( camera ) {
 	this.map = null;
 	this.matrix = new Matrix4();
 
-};
+}
 
 Object.assign( LightShadow.prototype, {
 
@@ -48,9 +48,8 @@ Object.assign( LightShadow.prototype, {
 		if ( this.radius !== 1 ) object.radius = this.radius;
 		if ( this.mapSize.x !== 512 || this.mapSize.y !== 512 ) object.mapSize = this.mapSize.toArray();
 
-		var camera = this.camera.toJSON( false ).object;
-		delete camera.matrix;
-		object.camera = camera;
+		object.camera = this.camera.toJSON( false ).object;
+		delete object.camera.matrix;
 
 		return object;
 

+ 1 - 1
src/lights/PointLight.js

@@ -32,7 +32,7 @@ function PointLight( color, intensity, distance, decay ) {
 
 	this.shadow = new LightShadow( new PerspectiveCamera( 90, 1, 0.5, 500 ) );
 
-};
+}
 
 PointLight.prototype = Object.assign( Object.create( Light.prototype ), {
 

部分文件因为文件数量过多而无法显示