Ver código fonte

Fixed function formatting

Mr.doob 9 anos atrás
pai
commit
bdea7d00ce
100 arquivos alterados com 117 adições e 117 exclusões
  1. 1 1
      src/animation/AnimationClip.js
  2. 1 1
      src/animation/KeyframeTrack.js
  3. 1 1
      src/animation/KeyframeTrackConstructor.js
  4. 1 1
      src/animation/PropertyBinding.js
  5. 1 1
      src/animation/PropertyMixer.js
  6. 1 1
      src/animation/tracks/BooleanKeyframeTrack.js
  7. 1 1
      src/animation/tracks/ColorKeyframeTrack.js
  8. 1 1
      src/animation/tracks/NumberKeyframeTrack.js
  9. 1 1
      src/animation/tracks/QuaternionKeyframeTrack.js
  10. 1 1
      src/animation/tracks/StringKeyframeTrack.js
  11. 1 1
      src/animation/tracks/VectorKeyframeTrack.js
  12. 1 1
      src/audio/Audio.js
  13. 1 1
      src/audio/AudioAnalyser.js
  14. 1 1
      src/audio/AudioContext.js
  15. 1 1
      src/audio/AudioListener.js
  16. 1 1
      src/audio/PositionalAudio.js
  17. 1 1
      src/cameras/Camera.js
  18. 1 1
      src/cameras/CubeCamera.js
  19. 1 1
      src/cameras/OrthographicCamera.js
  20. 1 1
      src/cameras/PerspectiveCamera.js
  21. 1 1
      src/cameras/StereoCamera.js
  22. 11 11
      src/core/BufferAttribute.js
  23. 1 1
      src/core/BufferGeometry.js
  24. 1 1
      src/core/Clock.js
  25. 1 1
      src/core/DirectGeometry.js
  26. 1 1
      src/core/EventDispatcher.js
  27. 1 1
      src/core/Face3.js
  28. 2 2
      src/core/Geometry.js
  29. 1 1
      src/core/InstancedBufferAttribute.js
  30. 1 1
      src/core/InstancedBufferGeometry.js
  31. 1 1
      src/core/InstancedInterleavedBuffer.js
  32. 1 1
      src/core/InterleavedBuffer.js
  33. 1 1
      src/core/InterleavedBufferAttribute.js
  34. 1 1
      src/core/Layers.js
  35. 3 3
      src/core/Object3D.js
  36. 1 1
      src/core/Raycaster.js
  37. 1 1
      src/core/Uniform.js
  38. 1 1
      src/extras/core/Curve.js
  39. 1 1
      src/extras/core/CurvePath.js
  40. 1 1
      src/extras/core/Font.js
  41. 1 1
      src/extras/core/Path.js
  42. 1 1
      src/extras/core/Shape.js
  43. 1 1
      src/extras/curves/ArcCurve.js
  44. 1 1
      src/extras/curves/ClosedSplineCurve3.js
  45. 1 1
      src/extras/curves/CubicBezierCurve.js
  46. 1 1
      src/extras/curves/LineCurve.js
  47. 1 1
      src/extras/curves/QuadraticBezierCurve.js
  48. 1 1
      src/extras/curves/SplineCurve.js
  49. 4 4
      src/extras/geometries/BoxBufferGeometry.js
  50. 1 1
      src/extras/geometries/BoxGeometry.js
  51. 1 1
      src/extras/geometries/CircleBufferGeometry.js
  52. 1 1
      src/extras/geometries/CircleGeometry.js
  53. 1 1
      src/extras/geometries/ConeBufferGeometry.js
  54. 1 1
      src/extras/geometries/ConeGeometry.js
  55. 1 1
      src/extras/geometries/CylinderGeometry.js
  56. 1 1
      src/extras/geometries/DodecahedronGeometry.js
  57. 1 1
      src/extras/geometries/EdgesGeometry.js
  58. 2 2
      src/extras/geometries/ExtrudeGeometry.js
  59. 1 1
      src/extras/geometries/IcosahedronGeometry.js
  60. 1 1
      src/extras/geometries/LatheBufferGeometry.js
  61. 1 1
      src/extras/geometries/LatheGeometry.js
  62. 1 1
      src/extras/geometries/OctahedronGeometry.js
  63. 1 1
      src/extras/geometries/ParametricGeometry.js
  64. 1 1
      src/extras/geometries/PlaneBufferGeometry.js
  65. 1 1
      src/extras/geometries/PlaneGeometry.js
  66. 1 1
      src/extras/geometries/PolyhedronGeometry.js
  67. 1 1
      src/extras/geometries/RingBufferGeometry.js
  68. 1 1
      src/extras/geometries/RingGeometry.js
  69. 1 1
      src/extras/geometries/ShapeGeometry.js
  70. 1 1
      src/extras/geometries/SphereBufferGeometry.js
  71. 1 1
      src/extras/geometries/SphereGeometry.js
  72. 1 1
      src/extras/geometries/TetrahedronGeometry.js
  73. 1 1
      src/extras/geometries/TextGeometry.js
  74. 1 1
      src/extras/geometries/TorusBufferGeometry.js
  75. 1 1
      src/extras/geometries/TorusGeometry.js
  76. 1 1
      src/extras/geometries/TorusKnotBufferGeometry.js
  77. 1 1
      src/extras/geometries/TorusKnotGeometry.js
  78. 1 1
      src/extras/geometries/TubeGeometry.js
  79. 1 1
      src/extras/geometries/WireframeGeometry.js
  80. 1 1
      src/extras/helpers/AxisHelper.js
  81. 1 1
      src/extras/helpers/BoundingBoxHelper.js
  82. 1 1
      src/extras/helpers/BoxHelper.js
  83. 1 1
      src/extras/helpers/CameraHelper.js
  84. 1 1
      src/extras/helpers/DirectionalLightHelper.js
  85. 1 1
      src/extras/helpers/EdgesHelper.js
  86. 1 1
      src/extras/helpers/FaceNormalsHelper.js
  87. 1 1
      src/extras/helpers/GridHelper.js
  88. 1 1
      src/extras/helpers/HemisphereLightHelper.js
  89. 1 1
      src/extras/helpers/PointLightHelper.js
  90. 1 1
      src/extras/helpers/SkeletonHelper.js
  91. 1 1
      src/extras/helpers/SpotLightHelper.js
  92. 1 1
      src/extras/helpers/VertexNormalsHelper.js
  93. 1 1
      src/extras/helpers/WireframeHelper.js
  94. 1 1
      src/extras/objects/ImmediateRenderObject.js
  95. 1 1
      src/lights/AmbientLight.js
  96. 1 1
      src/lights/DirectionalLight.js
  97. 1 1
      src/lights/DirectionalLightShadow.js
  98. 1 1
      src/lights/HemisphereLight.js
  99. 1 1
      src/lights/Light.js
  100. 1 1
      src/lights/LightShadow.js

+ 1 - 1
src/animation/AnimationClip.js

@@ -13,7 +13,7 @@ import { _Math } from '../math/Math';
  * @author David Sarno / http://lighthaus.us/
  */
 
-function AnimationClip ( name, duration, tracks ) {
+function AnimationClip( name, duration, tracks ) {
 	this.isAnimationClip = true;
 
 	this.name = name;

+ 1 - 1
src/animation/KeyframeTrack.js

@@ -18,7 +18,7 @@ import { KeyframeTrackConstructor } from './KeyframeTrackConstructor';
  * @author tschw
  */
 
-function KeyframeTrack ( name, times, values, interpolation ) {
+function KeyframeTrack( name, times, values, interpolation ) {
 	KeyframeTrackConstructor.apply( this, arguments );
 };
 

+ 1 - 1
src/animation/KeyframeTrackConstructor.js

@@ -1,6 +1,6 @@
 import { AnimationUtils } from './AnimationUtils';
 
-function KeyframeTrackConstructor ( name, times, values, interpolation ) {
+function KeyframeTrackConstructor( name, times, values, interpolation ) {
 	this.isKeyframeTrack = true;
 
 	if( name === undefined ) throw new Error( "track name is undefined" );

+ 1 - 1
src/animation/PropertyBinding.js

@@ -8,7 +8,7 @@
  * @author tschw
  */
 
-function PropertyBinding ( rootNode, path, parsedPath ) {
+function PropertyBinding( rootNode, path, parsedPath ) {
 	this.isPropertyBinding = true;
 
 	this.path = path;

+ 1 - 1
src/animation/PropertyMixer.js

@@ -10,7 +10,7 @@ import { Quaternion } from '../math/Quaternion';
  * @author tschw
  */
 
-function PropertyMixer ( binding, typeName, valueSize ) {
+function PropertyMixer( binding, typeName, valueSize ) {
 	this.isPropertyMixer = true;
 
 	this.binding = binding;

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

@@ -12,7 +12,7 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
  * @author tschw
  */
 
-function BooleanKeyframeTrack ( name, times, values ) {
+function BooleanKeyframeTrack( name, times, values ) {
 	this.isBooleanKeyframeTrack = true;
 
 	KeyframeTrackConstructor.call( this, name, times, values );

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

@@ -11,7 +11,7 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
  * @author tschw
  */
 
-function ColorKeyframeTrack ( name, times, values, interpolation ) {
+function ColorKeyframeTrack( name, times, values, interpolation ) {
 	this.isColorKeyframeTrack = true;
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );

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

@@ -10,7 +10,7 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
  * @author tschw
  */
 
-function NumberKeyframeTrack ( name, times, values, interpolation ) {
+function NumberKeyframeTrack( name, times, values, interpolation ) {
 	this.isNumberKeyframeTrack = true;
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );

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

@@ -12,7 +12,7 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
  * @author tschw
  */
 
-function QuaternionKeyframeTrack ( name, times, values, interpolation ) {
+function QuaternionKeyframeTrack( name, times, values, interpolation ) {
 	this.isQuaternionKeyframeTrack = true;
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );

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

@@ -12,7 +12,7 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
  * @author tschw
  */
 
-function StringKeyframeTrack ( name, times, values, interpolation ) {
+function StringKeyframeTrack( name, times, values, interpolation ) {
 	this.isStringKeyframeTrack = true;
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );

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

@@ -11,7 +11,7 @@ import { KeyframeTrackConstructor } from '../KeyframeTrackConstructor';
  * @author tschw
  */
 
-function VectorKeyframeTrack ( name, times, values, interpolation ) {
+function VectorKeyframeTrack( name, times, values, interpolation ) {
 	this.isVectorKeyframeTrack = true;
 
 	KeyframeTrackConstructor.call( this, name, times, values, interpolation );

+ 1 - 1
src/audio/Audio.js

@@ -5,7 +5,7 @@
 
 import { Object3D } from '../core/Object3D';
 
-function Audio ( listener ) {
+function Audio( listener ) {
 
 	Object3D.call( this );
 

+ 1 - 1
src/audio/AudioAnalyser.js

@@ -2,7 +2,7 @@
  * @author mrdoob / http://mrdoob.com/
  */
 
-function AudioAnalyser ( audio, fftSize ) {
+function AudioAnalyser( audio, fftSize ) {
 
 	this.analyser = audio.context.createAnalyser();
 	this.analyser.fftSize = fftSize !== undefined ? fftSize : 2048;

+ 1 - 1
src/audio/AudioContext.js

@@ -1,6 +1,6 @@
 var context;
 
-export function getAudioContext () {
+export function getAudioContext() {
 
 	if ( context === undefined ) {
 

+ 1 - 1
src/audio/AudioListener.js

@@ -7,7 +7,7 @@ import { Quaternion } from '../math/Quaternion';
 import { Object3D } from '../core/Object3D';
 import { getAudioContext } from './AudioContext';
 
-function AudioListener () {
+function AudioListener() {
 
 	Object3D.call( this );
 

+ 1 - 1
src/audio/PositionalAudio.js

@@ -6,7 +6,7 @@ import { Vector3 } from '../math/Vector3';
 import { Audio } from './Audio';
 import { Object3D } from '../core/Object3D';
 
-function PositionalAudio ( listener ) {
+function PositionalAudio( listener ) {
 
 	Audio.call( this, listener );
 

+ 1 - 1
src/cameras/Camera.js

@@ -9,7 +9,7 @@ import { Vector3 } from '../math/Vector3';
  * @author WestLangley / http://github.com/WestLangley
 */
 
-function Camera () {
+function Camera() {
 	this.isCamera = this.isObject3D = true;
 
 	Object3D.call( this );

+ 1 - 1
src/cameras/CubeCamera.js

@@ -11,7 +11,7 @@ import { PerspectiveCamera } from './PerspectiveCamera';
  * @author alteredq / http://alteredqualia.com/
  */
 
-function CubeCamera ( near, far, cubeResolution ) {
+function CubeCamera( near, far, cubeResolution ) {
 	this.isCubeCamera = this.isObject3D = true;
 
 	Object3D.call( this );

+ 1 - 1
src/cameras/OrthographicCamera.js

@@ -6,7 +6,7 @@ import { Object3D } from '../core/Object3D';
  * @author arose / http://github.com/arose
  */
 
-function OrthographicCamera ( left, right, top, bottom, near, far ) {
+function OrthographicCamera( left, right, top, bottom, near, far ) {
 	this.isOrthographicCamera = true;
 
 	Camera.call( this );

+ 1 - 1
src/cameras/PerspectiveCamera.js

@@ -9,7 +9,7 @@ import { _Math } from '../math/Math';
  * @author tschw
  */
 
-function PerspectiveCamera ( fov, aspect, near, far ) {
+function PerspectiveCamera( fov, aspect, near, far ) {
 	this.isPerspectiveCamera = true;
 
 	Camera.call( this );

+ 1 - 1
src/cameras/StereoCamera.js

@@ -6,7 +6,7 @@ import { PerspectiveCamera } from './PerspectiveCamera';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function StereoCamera () {
+function StereoCamera() {
 	this.isStereoCamera = true;
 
 	this.type = 'StereoCamera';

+ 11 - 11
src/core/BufferAttribute.js

@@ -8,7 +8,7 @@ import { _Math } from '../math/Math';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function BufferAttribute ( array, itemSize, normalized ) {
+function BufferAttribute( array, itemSize, normalized ) {
 	this.isBufferAttribute = true;
 
 	this.uuid = _Math.generateUUID();
@@ -312,55 +312,55 @@ BufferAttribute.prototype = {
 
 //
 
-function Int8Attribute ( array, itemSize ) {
+function Int8Attribute( array, itemSize ) {
 
 	return new BufferAttribute( new Int8Array( array ), itemSize );
 
 }
 
-function Uint8Attribute ( array, itemSize ) {
+function Uint8Attribute( array, itemSize ) {
 
 	return new BufferAttribute( new Uint8Array( array ), itemSize );
 
 }
 
-function Uint8ClampedAttribute ( array, itemSize ) {
+function Uint8ClampedAttribute( array, itemSize ) {
 
 	return new BufferAttribute( new Uint8ClampedArray( array ), itemSize );
 
 }
 
-function Int16Attribute ( array, itemSize ) {
+function Int16Attribute( array, itemSize ) {
 
 	return new BufferAttribute( new Int16Array( array ), itemSize );
 
 }
 
-function Uint16Attribute ( array, itemSize ) {
+function Uint16Attribute( array, itemSize ) {
 
 	return new BufferAttribute( new Uint16Array( array ), itemSize );
 
 }
 
-function Int32Attribute ( array, itemSize ) {
+function Int32Attribute( array, itemSize ) {
 
 	return new BufferAttribute( new Int32Array( array ), itemSize );
 
 }
 
-function Uint32Attribute ( array, itemSize ) {
+function Uint32Attribute( array, itemSize ) {
 
 	return new BufferAttribute( new Uint32Array( array ), itemSize );
 
 }
 
-function Float32Attribute ( array, itemSize ) {
+function Float32Attribute( array, itemSize ) {
 
 	return new BufferAttribute( new Float32Array( array ), itemSize );
 
 }
 
-function Float64Attribute ( array, itemSize ) {
+function Float64Attribute( array, itemSize ) {
 
 	return new BufferAttribute( new Float64Array( array ), itemSize );
 
@@ -368,7 +368,7 @@ function Float64Attribute ( array, itemSize ) {
 
 // Deprecated
 
-function DynamicBufferAttribute ( array, itemSize ) {
+function DynamicBufferAttribute( array, itemSize ) {
 
 	console.warn( 'THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setDynamic( true ) instead.' );
 	return new BufferAttribute( array, itemSize ).setDynamic( true );

+ 1 - 1
src/core/BufferGeometry.js

@@ -15,7 +15,7 @@ import { GeometryIdCount } from './Geometry';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function BufferGeometry () {
+function BufferGeometry() {
 	this.isBufferGeometry = true;
 
 	Object.defineProperty( this, 'id', { value: GeometryIdCount() } );

+ 1 - 1
src/core/Clock.js

@@ -2,7 +2,7 @@
  * @author alteredq / http://alteredqualia.com/
  */
 
-function Clock ( autoStart ) {
+function Clock( autoStart ) {
 	this.isClock = true;
 
 	this.autoStart = ( autoStart !== undefined ) ? autoStart : true;

+ 1 - 1
src/core/DirectGeometry.js

@@ -8,7 +8,7 @@ import { GeometryIdCount } from './Geometry';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function DirectGeometry () {
+function DirectGeometry() {
 	this.isDirectGeometry = true;
 
 	Object.defineProperty( this, 'id', { value: GeometryIdCount() } );

+ 1 - 1
src/core/EventDispatcher.js

@@ -2,7 +2,7 @@
  * https://github.com/mrdoob/eventdispatcher.js/
  */
 
-function EventDispatcher () {
+function EventDispatcher() {
 	this.isEventDispatcher = true;};
 
 Object.assign( EventDispatcher.prototype, {

+ 1 - 1
src/core/Face3.js

@@ -6,7 +6,7 @@ import { Vector3 } from '../math/Vector3';
  * @author alteredq / http://alteredqualia.com/
  */
 
-function Face3 ( a, b, c, normal, color, materialIndex ) {
+function Face3( a, b, c, normal, color, materialIndex ) {
 	this.isFace3 = true;
 
 	this.a = a;

+ 2 - 2
src/core/Geometry.js

@@ -19,7 +19,7 @@ import { _Math } from '../math/Math';
  * @author bhouston / http://clara.io
  */
 
-function Geometry () {
+function Geometry() {
 	this.isGeometry = true;
 
 	Object.defineProperty( this, 'id', { value: GeometryIdCount() } );
@@ -1216,7 +1216,7 @@ Object.assign( Geometry.prototype, EventDispatcher.prototype, {
 } );
 
 var count = 0;
-function GeometryIdCount () { return count++; };
+function GeometryIdCount() { return count++; };
 
 
 export { GeometryIdCount, Geometry };

+ 1 - 1
src/core/InstancedBufferAttribute.js

@@ -4,7 +4,7 @@ import { BufferAttribute } from './BufferAttribute';
  * @author benaadams / https://twitter.com/ben_a_adams
  */
 
-function InstancedBufferAttribute ( array, itemSize, meshPerAttribute ) {
+function InstancedBufferAttribute( array, itemSize, meshPerAttribute ) {
 	this.isInstancedBufferAttribute = this.isBufferAttribute = true;
 
 	BufferAttribute.call( this, array, itemSize );

+ 1 - 1
src/core/InstancedBufferGeometry.js

@@ -4,7 +4,7 @@ import { BufferGeometry } from './BufferGeometry';
  * @author benaadams / https://twitter.com/ben_a_adams
  */
 
-function InstancedBufferGeometry () {
+function InstancedBufferGeometry() {
 	this.isInstancedBufferGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

+ 1 - 1
src/core/InstancedInterleavedBuffer.js

@@ -4,7 +4,7 @@ import { InterleavedBuffer } from './InterleavedBuffer';
  * @author benaadams / https://twitter.com/ben_a_adams
  */
 
-function InstancedInterleavedBuffer ( array, stride, meshPerAttribute ) {
+function InstancedInterleavedBuffer( array, stride, meshPerAttribute ) {
 	this.isInstancedInterleavedBuffer = this.isInterleavedBuffer = true;
 
 	InterleavedBuffer.call( this, array, stride );

+ 1 - 1
src/core/InterleavedBuffer.js

@@ -4,7 +4,7 @@ import { _Math } from '../math/Math';
  * @author benaadams / https://twitter.com/ben_a_adams
  */
 
-function InterleavedBuffer ( array, stride ) {
+function InterleavedBuffer( array, stride ) {
 	this.isInterleavedBuffer = true;
 
 	this.uuid = _Math.generateUUID();

+ 1 - 1
src/core/InterleavedBufferAttribute.js

@@ -4,7 +4,7 @@ import { _Math } from '../math/Math';
  * @author benaadams / https://twitter.com/ben_a_adams
  */
 
-function InterleavedBufferAttribute ( interleavedBuffer, itemSize, offset, normalized ) {
+function InterleavedBufferAttribute( interleavedBuffer, itemSize, offset, normalized ) {
 	this.isInterleavedBufferAttribute = true;
 
 	this.uuid = _Math.generateUUID();

+ 1 - 1
src/core/Layers.js

@@ -2,7 +2,7 @@
  * @author mrdoob / http://mrdoob.com/
  */
 
-function Layers () {
+function Layers() {
 	this.isLayers = true;
 
 	this.mask = 1;

+ 3 - 3
src/core/Object3D.js

@@ -15,7 +15,7 @@ import { _Math } from '../math/Math';
  * @author elephantatwork / www.elephantatwork.ch
  */
 
-function Object3D () {
+function Object3D() {
 	this.isObject3D = true;
 
 	Object.defineProperty( this, 'id', { value: Object3DIdCount() } );
@@ -654,7 +654,7 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, {
 		// extract data from the cache hash
 		// remove metadata on each item
 		// and return as array
-		function extractFromCache ( cache ) {
+		function extractFromCache( cache ) {
 
 			var values = [];
 			for ( var key in cache ) {
@@ -722,7 +722,7 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, {
 } );
 
 var count = 0;
-function Object3DIdCount () { return count++; };
+function Object3DIdCount() { return count++; };
 
 
 export { Object3DIdCount, Object3D };

+ 1 - 1
src/core/Raycaster.js

@@ -6,7 +6,7 @@ import { Ray } from '../math/Ray';
  * @author stephomi / http://stephaneginier.com/
  */
 
-function Raycaster ( origin, direction, near, far ) {
+function Raycaster( origin, direction, near, far ) {
 	this.isRaycaster = true;
 
 	this.ray = new Ray( origin, direction );

+ 1 - 1
src/core/Uniform.js

@@ -2,7 +2,7 @@
  * @author mrdoob / http://mrdoob.com/
  */
 
-function Uniform ( value ) {
+function Uniform( value ) {
 	this.isUniform = true;
 
 	if ( typeof value === 'string' ) {

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

@@ -33,7 +33,7 @@
  *	Abstract Curve base class
  **************************************************************/
 
-function Curve () {
+function Curve() {
 	this.isCurve = true;
 
 };

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

@@ -13,7 +13,7 @@ import { LineCurve } from '../curves/LineCurve';
  *  curves, but retains the api of a curve
  **************************************************************/
 
-function CurvePath () {
+function CurvePath() {
 	this.isCurvePath = true;
 
 	this.curves = [];

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

@@ -6,7 +6,7 @@ import { ShapePath } from './Path';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function Font ( data ) {
+function Font( data ) {
 	this.isFont = true;
 
 	this.data = data;

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

@@ -10,7 +10,7 @@ import { CurvePath } from './CurvePath';
  *
  **/
 
-function Path ( points ) {
+function Path( points ) {
 	this.isPath = true;
 
 	CurvePath.call( this );

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

@@ -14,7 +14,7 @@ import { Path } from './Path';
 // STEP 3a - Extract points from each shape, turn to vertices
 // STEP 3b - Triangulate each shape, add faces.
 
-function Shape () {
+function Shape() {
 	this.isShape = true;
 
 	Path.apply( this, arguments );

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

@@ -4,7 +4,7 @@ import { EllipseCurve } from './EllipseCurve';
  *	Arc curve
  **************************************************************/
 
-function ArcCurve ( aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise ) {
+function ArcCurve( aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise ) {
 	this.isArcCurve = this.isEllipseCurve = this.isCurve = true;
 
 	EllipseCurve.call( this, aX, aY, aRadius, aRadius, aStartAngle, aEndAngle, aClockwise );

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

@@ -5,7 +5,7 @@ import { CatmullRomCurve3 } from './CatmullRomCurve3';
  **************************************************************/
 
 
-function ClosedSplineCurve3 ( points ) {
+function ClosedSplineCurve3( points ) {
 	this.isClosedSplineCurve3 = this.isCatmullRomCurve3 = true;
 
 	console.warn( 'THREE.ClosedSplineCurve3 has been deprecated. Please use THREE.CatmullRomCurve3.' );

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

@@ -7,7 +7,7 @@ import { ShapeUtils } from '../ShapeUtils';
  *	Cubic Bezier curve
  **************************************************************/
 
-function CubicBezierCurve ( v0, v1, v2, v3 ) {
+function CubicBezierCurve( v0, v1, v2, v3 ) {
 	this.isCubicBezierCurve = this.isCurve = true;
 
 	this.v0 = v0;

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

@@ -4,7 +4,7 @@ import { Curve } from '../core/Curve';
  *	Line
  **************************************************************/
 
-function LineCurve ( v1, v2 ) {
+function LineCurve( v1, v2 ) {
 	this.isLineCurve = this.isCurve = true;
 
 	this.v1 = v1;

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

@@ -8,7 +8,7 @@ import { ShapeUtils } from '../ShapeUtils';
  **************************************************************/
 
 
-function QuadraticBezierCurve ( v0, v1, v2 ) {
+function QuadraticBezierCurve( v0, v1, v2 ) {
 	this.isQuadraticBezierCurve = this.isCurve = true;
 
 	this.v0 = v0;

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

@@ -6,7 +6,7 @@ import { CurveUtils } from '../CurveUtils';
  *	Spline curve
  **************************************************************/
 
-function SplineCurve ( points /* array of Vector2 */ ) {
+function SplineCurve( points /* array of Vector2 */ ) {
 	this.isSplineCurve = this.isCurve = true;
 
 	this.points = ( points == undefined ) ? [] : points;

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

@@ -6,7 +6,7 @@ import { BufferAttribute } from '../../core/BufferAttribute';
  * @author Mugen87 / https://github.com/Mugen87
  */
 
-function BoxBufferGeometry ( width, height, depth, widthSegments, heightSegments, depthSegments ) {
+function BoxBufferGeometry( width, height, depth, widthSegments, heightSegments, depthSegments ) {
 	this.isBoxBufferGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );
@@ -64,7 +64,7 @@ function BoxBufferGeometry ( width, height, depth, widthSegments, heightSegments
 
 	// helper functions
 
-	function calculateVertexCount ( w, h, d ) {
+	function calculateVertexCount( w, h, d ) {
 
 		var vertices = 0;
 
@@ -77,7 +77,7 @@ function BoxBufferGeometry ( width, height, depth, widthSegments, heightSegments
 
 	}
 
-	function calculateIndexCount ( w, h, d ) {
+	function calculateIndexCount( w, h, d ) {
 
 		var index = 0;
 
@@ -90,7 +90,7 @@ function BoxBufferGeometry ( width, height, depth, widthSegments, heightSegments
 
 	}
 
-	function buildPlane ( u, v, w, udir, vdir, width, height, depth, gridX, gridY, materialIndex ) {
+	function buildPlane( u, v, w, udir, vdir, width, height, depth, gridX, gridY, materialIndex ) {
 
 		var segmentWidth	= width / gridX;
 		var segmentHeight = height / gridY;

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

@@ -8,7 +8,7 @@ var CubeGeometry;
  * based on http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/org/papervision3d/objects/primitives/Cube.as
  */
 
-function BoxGeometry ( width, height, depth, widthSegments, heightSegments, depthSegments ) {
+function BoxGeometry( width, height, depth, widthSegments, heightSegments, depthSegments ) {
 	this.isBoxGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -7,7 +7,7 @@ import { BufferAttribute } from '../../core/BufferAttribute';
  * @author benaadams / https://twitter.com/ben_a_adams
  */
 
-function CircleBufferGeometry ( radius, segments, thetaStart, thetaLength ) {
+function CircleBufferGeometry( radius, segments, thetaStart, thetaLength ) {
 	this.isCircleBufferGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

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

@@ -5,7 +5,7 @@ import { CircleBufferGeometry } from './CircleBufferGeometry';
  * @author hughes
  */
 
-function CircleGeometry ( radius, segments, thetaStart, thetaLength ) {
+function CircleGeometry( radius, segments, thetaStart, thetaLength ) {
 	this.isCircleGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -5,7 +5,7 @@ import { CylinderBufferGeometry } from './CylinderBufferGeometry';
  * @author: abelnation / http://github.com/abelnation
  */
 
-function ConeBufferGeometry (
+function ConeBufferGeometry(
 	radius, height,
 	radialSegments, heightSegments,
 	openEnded, thetaStart, thetaLength ) {

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

@@ -4,7 +4,7 @@ import { CylinderGeometry } from './CylinderGeometry';
  * @author abelnation / http://github.com/abelnation
  */
 
-function ConeGeometry (
+function ConeGeometry(
 	radius, height,
 	radialSegments, heightSegments,
 	openEnded, thetaStart, thetaLength ) {

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

@@ -5,7 +5,7 @@ import { CylinderBufferGeometry } from './CylinderBufferGeometry';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function CylinderGeometry ( radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
+function CylinderGeometry( radiusTop, radiusBottom, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength ) {
 	this.isCylinderGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -4,7 +4,7 @@ import { PolyhedronGeometry } from './PolyhedronGeometry';
  * @author Abe Pazos / https://hamoid.com
  */
 
-function DodecahedronGeometry ( radius, detail ) {
+function DodecahedronGeometry( radius, detail ) {
 	this.isDodecahedronGeometry = this.isPolyhedronGeometry = this.isGeometry = true;
 
 	var t = ( 1 + Math.sqrt( 5 ) ) / 2;

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

@@ -7,7 +7,7 @@ import { _Math } from '../../math/Math';
  * @author WestLangley / http://github.com/WestLangley
  */
 
-function EdgesGeometry ( geometry, thresholdAngle ) {
+function EdgesGeometry( geometry, thresholdAngle ) {
 	this.isEdgesGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

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

@@ -29,7 +29,7 @@ import { TubeGeometry } from './TubeGeometry';
  * }
  **/
 
-function ExtrudeGeometry ( shapes, options ) {
+function ExtrudeGeometry( shapes, options ) {
 	this.isExtrudeGeometry = this.isGeometry = true;
 
 	if ( typeof( shapes ) === "undefined" ) {
@@ -180,7 +180,7 @@ ExtrudeGeometry.prototype.addShape = function ( shape, options ) {
 	}
 
 
-	function scalePt2 ( pt, vec, size ) {
+	function scalePt2( pt, vec, size ) {
 
 		if ( ! vec ) console.error( "THREE.ExtrudeGeometry: vec does not exist" );
 

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

@@ -4,7 +4,7 @@ import { PolyhedronGeometry } from './PolyhedronGeometry';
  * @author timothypratley / https://github.com/timothypratley
  */
 
-function IcosahedronGeometry ( radius, detail ) {
+function IcosahedronGeometry( radius, detail ) {
 	this.isIcosahedronGeometry = this.isPolyhedronGeometry = this.isGeometry = true;
 
 	var t = ( 1 + Math.sqrt( 5 ) ) / 2;

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

@@ -15,7 +15,7 @@ import { _Math } from '../../math/Math';
  // phiLength - the radian (0 to 2PI) range of the lathed section
  //    2PI is a closed lathe, less than 2PI is a portion.
 
-function LatheBufferGeometry ( points, segments, phiStart, phiLength ) {
+function LatheBufferGeometry( points, segments, phiStart, phiLength ) {
 	this.isLatheBufferGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

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

@@ -14,7 +14,7 @@ import { LatheBufferGeometry } from './LatheBufferGeometry';
 // phiLength - the radian (0 to 2PI) range of the lathed section
 //    2PI is a closed lathe, less than 2PI is a portion.
 
-function LatheGeometry ( points, segments, phiStart, phiLength ) {
+function LatheGeometry( points, segments, phiStart, phiLength ) {
 	this.isLatheGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -4,7 +4,7 @@ import { PolyhedronGeometry } from './PolyhedronGeometry';
  * @author timothypratley / https://github.com/timothypratley
  */
 
-function OctahedronGeometry ( radius, detail ) {
+function OctahedronGeometry( radius, detail ) {
 	this.isOctahedronGeometry = this.isPolyhedronGeometry = this.isGeometry = true;
 
 	var vertices = [

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

@@ -11,7 +11,7 @@ import { Vector2 } from '../../math/Vector2';
  *
  */
 
-function ParametricGeometry ( func, slices, stacks ) {
+function ParametricGeometry( func, slices, stacks ) {
 	this.isParametricGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -6,7 +6,7 @@ import { BufferAttribute } from '../../core/BufferAttribute';
  * based on http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/org/papervision3d/objects/primitives/Plane.as
  */
 
-function PlaneBufferGeometry ( width, height, widthSegments, heightSegments ) {
+function PlaneBufferGeometry( width, height, widthSegments, heightSegments ) {
 	this.isPlaneBufferGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

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

@@ -6,7 +6,7 @@ import { PlaneBufferGeometry } from './PlaneBufferGeometry';
  * based on http://papervision3d.googlecode.com/svn/trunk/as3/trunk/src/org/papervision3d/objects/primitives/Plane.as
  */
 
-function PlaneGeometry ( width, height, widthSegments, heightSegments ) {
+function PlaneGeometry( width, height, widthSegments, heightSegments ) {
 	this.isPlaneGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -10,7 +10,7 @@ import { Sphere } from '../../math/Sphere';
  * @author WestLangley / http://github.com/WestLangley
 */
 
-function PolyhedronGeometry ( vertices, indices, radius, detail ) {
+function PolyhedronGeometry( vertices, indices, radius, detail ) {
 	this.isPolyhedronGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -7,7 +7,7 @@ import { BufferAttribute } from '../../core/BufferAttribute';
  * @author Mugen87 / https://github.com/Mugen87
  */
 
-function RingBufferGeometry ( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) {
+function RingBufferGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) {
 	this.isRingBufferGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

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

@@ -5,7 +5,7 @@ import { RingBufferGeometry } from './RingBufferGeometry';
  * @author Kaleb Murphy
  */
 
-function RingGeometry ( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) {
+function RingGeometry( innerRadius, outerRadius, thetaSegments, phiSegments, thetaStart, thetaLength ) {
 	this.isRingGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -20,7 +20,7 @@ import { ExtrudeGeometry } from './ExtrudeGeometry';
  * }
  **/
 
-function ShapeGeometry ( shapes, options ) {
+function ShapeGeometry( shapes, options ) {
 	this.isShapeGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -8,7 +8,7 @@ import { Uint16Attribute, Uint32Attribute, BufferAttribute } from '../../core/Bu
  * based on THREE.SphereGeometry
  */
 
-function SphereBufferGeometry ( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) {
+function SphereBufferGeometry( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) {
 	this.isSphereBufferGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

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

@@ -5,7 +5,7 @@ import { SphereBufferGeometry } from './SphereBufferGeometry';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function SphereGeometry ( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) {
+function SphereGeometry( radius, widthSegments, heightSegments, phiStart, phiLength, thetaStart, thetaLength ) {
 	this.isSphereGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -4,7 +4,7 @@ import { PolyhedronGeometry } from './PolyhedronGeometry';
  * @author timothypratley / https://github.com/timothypratley
  */
 
-function TetrahedronGeometry ( radius, detail ) {
+function TetrahedronGeometry( radius, detail ) {
 	this.isTetrahedronGeometry = this.isPolyhedronGeometry = this.isGeometry = true;
 
 	var vertices = [

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

@@ -20,7 +20,7 @@ import { Geometry } from '../../core/Geometry';
  * }
  */
 
-function TextGeometry ( text, parameters ) {
+function TextGeometry( text, parameters ) {
 	this.isTextGeometry = this.isExtrudeGeometry = this.isGeometry = true;
 
 	parameters = parameters || {};

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

@@ -6,7 +6,7 @@ import { Vector3 } from '../../math/Vector3';
  * @author Mugen87 / https://github.com/Mugen87
  */
 
-function TorusBufferGeometry ( radius, tube, radialSegments, tubularSegments, arc ) {
+function TorusBufferGeometry( radius, tube, radialSegments, tubularSegments, arc ) {
 	this.isTorusBufferGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

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

@@ -7,7 +7,7 @@ import { TorusBufferGeometry } from './TorusBufferGeometry';
  * based on http://code.google.com/p/away3d/source/browse/trunk/fp10/Away3DLite/src/away3dlite/primitives/Torus.as?r=2888
  */
 
-function TorusGeometry ( radius, tube, radialSegments, tubularSegments, arc ) {
+function TorusGeometry( radius, tube, radialSegments, tubularSegments, arc ) {
 	this.isTorusGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -8,7 +8,7 @@ import { BufferAttribute } from '../../core/BufferAttribute';
  *
  * see: http://www.blackpawn.com/texts/pqtorus/
  */
-function TorusKnotBufferGeometry ( radius, tube, tubularSegments, radialSegments, p, q ) {
+function TorusKnotBufferGeometry( radius, tube, tubularSegments, radialSegments, p, q ) {
 	this.isTorusKnotBufferGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

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

@@ -5,7 +5,7 @@ import { TorusKnotBufferGeometry } from './TorusKnotBufferGeometry';
  * @author oosmoxiecode
  */
 
-function TorusKnotGeometry ( radius, tube, tubularSegments, radialSegments, p, q, heightScale ) {
+function TorusKnotGeometry( radius, tube, tubularSegments, radialSegments, p, q, heightScale ) {
 	this.isTorusKnotGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -19,7 +19,7 @@ import { Vector2 } from '../../math/Vector2';
  * http://www.cs.indiana.edu/pub/techreports/TR425.pdf
  */
 
-function TubeGeometry ( path, segments, radius, radialSegments, closed, taper ) {
+function TubeGeometry( path, segments, radius, radialSegments, closed, taper ) {
 	this.isTubeGeometry = this.isGeometry = true;
 
 	Geometry.call( this );

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

@@ -5,7 +5,7 @@ import { BufferAttribute } from '../../core/BufferAttribute';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function WireframeGeometry ( geometry ) {
+function WireframeGeometry( geometry ) {
 	this.isWireframeGeometry = this.isBufferGeometry = true;
 
 	BufferGeometry.call( this );

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

@@ -9,7 +9,7 @@ import { BufferGeometry } from '../../core/BufferGeometry';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function AxisHelper ( size ) {
+function AxisHelper( size ) {
 	this.isAxisHelper = this.isLineSegments = true;
 
 	size = size || 1;

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

@@ -9,7 +9,7 @@ import { Box3 } from '../../math/Box3';
 
 // a helper to show the world-axis-aligned bounding box for an object
 
-function BoundingBoxHelper ( object, hex ) {
+function BoundingBoxHelper( object, hex ) {
 	this.isBoundingBoxHelper = this.isMesh = true;
 
 	var color = ( hex !== undefined ) ? hex : 0x888888;

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

@@ -8,7 +8,7 @@ import { BufferGeometry } from '../../core/BufferGeometry';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function BoxHelper ( object, color ) {
+function BoxHelper( object, color ) {
 	this.isBoxHelper = this.isLineSegments = true;
 
 	if ( color === undefined ) color = 0xffff00;

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

@@ -15,7 +15,7 @@ import { Geometry } from '../../core/Geometry';
  *		http://evanw.github.com/lightgl.js/tests/shadowmap.html
  */
 
-function CameraHelper ( camera ) {
+function CameraHelper( camera ) {
 	this.isCameraHelper = this.isLineSegments = true;
 
 	var geometry = new Geometry();

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

@@ -11,7 +11,7 @@ import { LineBasicMaterial } from '../../materials/LineBasicMaterial';
  * @author WestLangley / http://github.com/WestLangley
  */
 
-function DirectionalLightHelper ( light, size ) {
+function DirectionalLightHelper( light, size ) {
 	this.isDirectionalLightHelper = this.isObject3D = true;
 
 	Object3D.call( this );

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

@@ -12,7 +12,7 @@ import { EdgesGeometry } from '../geometries/EdgesGeometry';
  * an edge is only rendered if the angle is at least 10 degrees.
  */
 
-function EdgesHelper ( object, hex, thresholdAngle ) {
+function EdgesHelper( object, hex, thresholdAngle ) {
 	this.isEdgesHelper = this.isLineSegments = true;
 
 	var color = ( hex !== undefined ) ? hex : 0xffffff;

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

@@ -10,7 +10,7 @@ import { BufferGeometry } from '../../core/BufferGeometry';
  * @author WestLangley / http://github.com/WestLangley
 */
 
-function FaceNormalsHelper ( object, size, hex, linewidth ) {
+function FaceNormalsHelper( object, size, hex, linewidth ) {
 	this.isFaceNormalsHelper = this.isLineSegments = true;
 
 	// FaceNormalsHelper only supports THREE.Geometry

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

@@ -9,7 +9,7 @@ import { Color } from '../../math/Color';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function GridHelper ( size, divisions, color1, color2 ) {
+function GridHelper( size, divisions, color1, color2 ) {
 	this.isGridHelper = this.isLineSegments = true;
 
 	divisions = divisions || 1;

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

@@ -11,7 +11,7 @@ import { Color } from '../../math/Color';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function HemisphereLightHelper ( light, sphereSize ) {
+function HemisphereLightHelper( light, sphereSize ) {
 	this.isHemisphereLightHelper = this.isObject3D = true;
 
 	Object3D.call( this );

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

@@ -7,7 +7,7 @@ import { SphereBufferGeometry } from '../geometries/SphereBufferGeometry';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function PointLightHelper ( light, sphereSize ) {
+function PointLightHelper( light, sphereSize ) {
 	this.isPointLightHelper = this.isMesh = true;
 
 	this.light = light;

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

@@ -13,7 +13,7 @@ import { Geometry } from '../../core/Geometry';
  * @author ikerr / http://verold.com
  */
 
-function SkeletonHelper ( object ) {
+function SkeletonHelper( object ) {
 	this.isSkeletonHelper = this.isLineSegments = true;
 
 	this.bones = this.getBoneList( object );

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

@@ -11,7 +11,7 @@ import { BufferGeometry } from '../../core/BufferGeometry';
  * @author WestLangley / http://github.com/WestLangley
 */
 
-function SpotLightHelper ( light ) {
+function SpotLightHelper( light ) {
 	this.isSpotLightHelper = this.isObject3D = true;
 
 	Object3D.call( this );

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

@@ -10,7 +10,7 @@ import { BufferGeometry } from '../../core/BufferGeometry';
  * @author WestLangley / http://github.com/WestLangley
 */
 
-function VertexNormalsHelper ( object, size, hex, linewidth ) {
+function VertexNormalsHelper( object, size, hex, linewidth ) {
 	this.isVertexNormalsHelper = this.isLineSegments = true;
 
 	this.object = object;

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

@@ -6,7 +6,7 @@ import { WireframeGeometry } from '../geometries/WireframeGeometry';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function WireframeHelper ( object, hex ) {
+function WireframeHelper( object, hex ) {
 	this.isWireframeHelper = this.isLineSegments = true;
 
 	var color = ( hex !== undefined ) ? hex : 0xffffff;

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

@@ -4,7 +4,7 @@ import { Object3D } from '../../core/Object3D';
  * @author alteredq / http://alteredqualia.com/
  */
 
-function ImmediateRenderObject ( material ) {
+function ImmediateRenderObject( material ) {
 	this.isImmediateRenderObject = this.isObject3D = true;
 
 	Object3D.call( this );

+ 1 - 1
src/lights/AmbientLight.js

@@ -4,7 +4,7 @@ import { Light } from './Light';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function AmbientLight ( color, intensity ) {
+function AmbientLight( color, intensity ) {
 	this.isAmbientLight = true;
 
 	Light.call( this, color, intensity );

+ 1 - 1
src/lights/DirectionalLight.js

@@ -7,7 +7,7 @@ import { Object3D } from '../core/Object3D';
  * @author alteredq / http://alteredqualia.com/
  */
 
-function DirectionalLight ( color, intensity ) {
+function DirectionalLight( color, intensity ) {
 	this.isDirectionalLight = true;
 
 	Light.call( this, color, intensity );

+ 1 - 1
src/lights/DirectionalLightShadow.js

@@ -5,7 +5,7 @@ import { OrthographicCamera } from '../cameras/OrthographicCamera';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function DirectionalLightShadow ( light ) {
+function DirectionalLightShadow( light ) {
 	this.isDirectionalLightShadow = true;
 
 	LightShadow.call( this, new OrthographicCamera( - 5, 5, 5, - 5, 0.5, 500 ) );

+ 1 - 1
src/lights/HemisphereLight.js

@@ -6,7 +6,7 @@ import { Object3D } from '../core/Object3D';
  * @author alteredq / http://alteredqualia.com/
  */
 
-function HemisphereLight ( skyColor, groundColor, intensity ) {
+function HemisphereLight( skyColor, groundColor, intensity ) {
 	this.isHemisphereLight = true;
 
 	Light.call( this, skyColor, intensity );

+ 1 - 1
src/lights/Light.js

@@ -6,7 +6,7 @@ import { Color } from '../math/Color';
  * @author alteredq / http://alteredqualia.com/
  */
 
-function Light ( color, intensity ) {
+function Light( color, intensity ) {
 	this.isLight = true;
 
 	Object3D.call( this );

+ 1 - 1
src/lights/LightShadow.js

@@ -5,7 +5,7 @@ import { Vector2 } from '../math/Vector2';
  * @author mrdoob / http://mrdoob.com/
  */
 
-function LightShadow ( camera ) {
+function LightShadow( camera ) {
 	this.isLightShadow = true;
 
 	this.camera = camera;

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff