From 820ad6bac0858d477fe3972ab02aee5a89d31b3c Mon Sep 17 00:00:00 2001 From: Mugen87 Date: Tue, 28 Jul 2020 22:46:49 +0200 Subject: [PATCH] Core: Remove author comments. --- src/animation/AnimationAction.js | 11 -------- src/animation/AnimationClip.js | 8 ------ src/animation/AnimationMixer.js | 10 ------- src/animation/AnimationObjectGroup.js | 2 -- src/animation/AnimationUtils.js | 6 ----- src/animation/KeyframeTrack.js | 10 ------- src/animation/PropertyBinding.js | 10 ------- src/animation/PropertyMixer.js | 10 ------- src/animation/tracks/BooleanKeyframeTrack.js | 6 ----- src/animation/tracks/ColorKeyframeTrack.js | 6 ----- src/animation/tracks/NumberKeyframeTrack.js | 5 ---- .../tracks/QuaternionKeyframeTrack.js | 5 ---- src/animation/tracks/StringKeyframeTrack.js | 6 ----- src/animation/tracks/VectorKeyframeTrack.js | 6 ----- src/audio/Audio.js | 5 ---- src/cameras/Camera.js | 6 ----- src/cameras/CubeCamera.js | 7 ----- src/cameras/OrthographicCamera.js | 5 ---- src/cameras/PerspectiveCamera.js | 7 ----- src/core/BufferGeometry.js | 5 ---- src/core/Clock.js | 4 --- src/core/Face3.js | 5 ---- src/core/Geometry.js | 9 ------- src/core/InstancedBufferAttribute.js | 4 --- src/core/InstancedBufferGeometry.js | 4 --- src/core/InstancedInterleavedBuffer.js | 4 --- src/core/InterleavedBuffer.js | 4 --- src/core/InterleavedBufferAttribute.js | 4 --- src/core/Object3D.js | 8 ------ src/core/Raycaster.js | 6 ----- src/extras/Earcut.js | 1 - src/extras/ImageUtils.js | 6 ----- src/extras/PMREMGenerator.js | 26 +++++++++---------- src/extras/ShapeUtils.js | 4 --- src/extras/core/Curve.js | 7 +---- src/extras/core/CurvePath.js | 5 ---- src/extras/core/Font.js | 6 ----- src/extras/core/Interpolations.js | 2 -- src/extras/core/Path.js | 5 ---- src/extras/core/Shape.js | 11 -------- src/extras/core/ShapePath.js | 5 ---- src/extras/curves/ArcCurve.js | 1 - src/extras/curves/CatmullRomCurve3.js | 2 -- src/extras/curves/CubicBezierCurve.js | 1 - src/extras/curves/CubicBezierCurve3.js | 1 - src/extras/curves/EllipseCurve.js | 1 - src/extras/curves/LineCurve.js | 1 - src/extras/curves/LineCurve3.js | 1 - src/extras/curves/QuadraticBezierCurve.js | 1 - src/extras/curves/QuadraticBezierCurve3.js | 1 - src/extras/curves/SplineCurve.js | 3 +-- src/extras/objects/ImmediateRenderObject.js | 4 --- src/geometries/BoxGeometry.js | 5 ---- src/geometries/CircleGeometry.js | 6 ----- src/geometries/ConeGeometry.js | 4 --- src/geometries/CylinderGeometry.js | 5 ---- src/geometries/DodecahedronGeometry.js | 5 ---- src/geometries/EdgesGeometry.js | 5 ---- src/geometries/ExtrudeGeometry.js | 16 +++++------- src/geometries/IcosahedronGeometry.js | 5 ---- src/geometries/LatheGeometry.js | 6 ----- src/geometries/OctahedronGeometry.js | 5 ---- src/geometries/ParametricGeometry.js | 13 ++++------ src/geometries/PlaneGeometry.js | 5 ---- src/geometries/PolyhedronGeometry.js | 7 ----- src/geometries/RingGeometry.js | 5 ---- src/geometries/ShapeGeometry.js | 5 ---- src/geometries/SphereGeometry.js | 6 ----- src/geometries/TetrahedronGeometry.js | 5 ---- src/geometries/TextGeometry.js | 9 +++---- src/geometries/TorusGeometry.js | 6 ----- src/geometries/TorusKnotGeometry.js | 7 ----- src/geometries/TubeGeometry.js | 10 ------- src/geometries/WireframeGeometry.js | 5 ---- src/helpers/ArrowHelper.js | 16 ------------ src/helpers/AxesHelper.js | 5 ---- src/helpers/Box3Helper.js | 4 --- src/helpers/BoxHelper.js | 5 ---- src/helpers/CameraHelper.js | 17 +++++------- src/helpers/DirectionalLightHelper.js | 6 ----- src/helpers/HemisphereLightHelper.js | 6 ----- src/helpers/PlaneHelper.js | 4 --- src/helpers/PointLightHelper.js | 5 ---- src/helpers/PolarGridHelper.js | 6 ----- src/helpers/SkeletonHelper.js | 8 ------ src/helpers/SpotLightHelper.js | 6 ----- src/lights/AmbientLightProbe.js | 4 --- src/lights/DirectionalLight.js | 5 ---- src/lights/HemisphereLight.js | 4 --- src/lights/HemisphereLightProbe.js | 4 --- src/lights/Light.js | 5 ---- src/lights/LightProbe.js | 6 ----- src/lights/PointLight.js | 1 - src/lights/RectAreaLight.js | 4 --- src/lights/SpotLight.js | 4 --- src/loaders/AnimationLoader.js | 4 --- src/loaders/AudioLoader.js | 4 --- src/loaders/CompressedTextureLoader.js | 2 -- src/loaders/CubeTextureLoader.js | 1 - src/loaders/DataTextureLoader.js | 2 -- src/loaders/ImageBitmapLoader.js | 5 ---- src/loaders/Loader.js | 4 --- src/loaders/LoaderUtils.js | 4 --- src/materials/LineBasicMaterial.js | 3 --- src/materials/LineDashedMaterial.js | 6 ++--- src/materials/Material.js | 5 ---- src/materials/MeshBasicMaterial.js | 3 --- src/materials/MeshDepthMaterial.js | 5 ---- src/materials/MeshDistanceMaterial.js | 2 -- src/materials/MeshLambertMaterial.js | 3 --- src/materials/MeshMatcapMaterial.js | 2 -- src/materials/MeshNormalMaterial.js | 3 --- src/materials/MeshPhongMaterial.js | 3 --- src/materials/MeshPhysicalMaterial.js | 2 -- src/materials/MeshStandardMaterial.js | 2 -- src/materials/MeshToonMaterial.js | 2 -- src/materials/PointsMaterial.js | 3 --- src/materials/ShaderMaterial.js | 14 +++++----- src/materials/ShadowMaterial.js | 8 +++--- src/materials/SpriteMaterial.js | 2 -- src/math/Box2.js | 4 --- src/math/Box3.js | 5 ---- src/math/Color.d.ts | 4 --- src/math/Cylindrical.js | 3 --- src/math/Euler.js | 6 ----- src/math/Frustum.js | 6 ----- src/math/Interpolant.js | 1 - src/math/Line3.js | 4 --- src/math/MathUtils.js | 7 ----- src/math/Matrix3.js | 7 ----- src/math/Matrix4.js | 13 ---------- src/math/Plane.js | 4 --- src/math/Quaternion.js | 7 ----- src/math/Ray.js | 4 --- src/math/Sphere.js | 5 ---- src/math/Spherical.js | 3 --- src/math/SphericalHarmonics3.js | 3 --- src/math/Triangle.js | 5 ---- src/math/Vector2.js | 7 ----- src/math/Vector3.js | 9 ------- src/math/Vector4.js | 8 ------ src/math/interpolants/CubicInterpolant.js | 2 -- src/math/interpolants/DiscreteInterpolant.js | 2 -- src/math/interpolants/LinearInterpolant.js | 4 --- .../QuaternionLinearInterpolant.js | 2 -- src/objects/Bone.js | 6 ----- src/objects/LOD.js | 6 ----- src/objects/LineLoop.js | 4 --- src/objects/Mesh.js | 7 ----- src/objects/Points.js | 4 --- src/objects/Skeleton.js | 7 ----- src/objects/SkinnedMesh.js | 6 ----- src/objects/Sprite.js | 5 ---- src/renderers/WebGL1Renderer.js | 4 --- src/renderers/WebGLCubeRenderTarget.js | 5 ---- src/renderers/WebGLMultisampleRenderTarget.js | 5 ---- src/renderers/WebGLRenderTarget.js | 6 ----- src/renderers/WebGLRenderer.js | 8 ------ src/renderers/shaders/ShaderLib.js | 6 ----- src/renderers/webgl/WebGLBindingStates.js | 7 +---- src/renderers/webgl/WebGLClipping.js | 4 --- src/renderers/webgl/WebGLInfo.js | 4 --- src/renderers/webgl/WebGLProperties.js | 4 --- src/renderers/webgl/WebGLRenderStates.js | 4 --- src/renderers/webgl/WebGLShadowMap.js | 5 ---- src/renderers/webgl/WebGLUniforms.js | 4 --- src/renderers/webgl/WebGLUtils.js | 4 --- src/renderers/webxr/WebXRController.js | 4 --- src/renderers/webxr/WebXRManager.js | 2 -- src/scenes/Fog.js | 5 ---- src/scenes/FogExp2.js | 5 ---- src/textures/CompressedTexture.js | 4 --- src/textures/DataTexture.js | 4 --- src/textures/DataTexture2DArray.js | 4 --- src/textures/DataTexture3D.js | 4 --- src/textures/DepthTexture.js | 5 ---- src/textures/Texture.js | 6 ----- 177 files changed, 48 insertions(+), 882 deletions(-) diff --git a/src/animation/AnimationAction.js b/src/animation/AnimationAction.js index 636dd02730..62b47e4469 100644 --- a/src/animation/AnimationAction.js +++ b/src/animation/AnimationAction.js @@ -1,16 +1,5 @@ import { WrapAroundEnding, ZeroCurvatureEnding, ZeroSlopeEnding, LoopPingPong, LoopOnce, LoopRepeat, NormalAnimationBlendMode, AdditiveAnimationBlendMode } from '../constants.js'; -/** - * - * Action provided by AnimationMixer for scheduling clip playback on specific - * objects. - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw - * - */ - function AnimationAction( mixer, clip, localRoot, blendMode ) { this._mixer = mixer; diff --git a/src/animation/AnimationClip.js b/src/animation/AnimationClip.js index 20d1ac2e68..1ade7b3f43 100644 --- a/src/animation/AnimationClip.js +++ b/src/animation/AnimationClip.js @@ -9,14 +9,6 @@ import { VectorKeyframeTrack } from './tracks/VectorKeyframeTrack.js'; import { MathUtils } from '../math/MathUtils.js'; import { NormalAnimationBlendMode } from '../constants.js'; -/** - * - * Reusable set of Tracks that represent an animation. - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - */ - function AnimationClip( name, duration, tracks, blendMode ) { this.name = name; diff --git a/src/animation/AnimationMixer.js b/src/animation/AnimationMixer.js index e411aab6fd..f6a08f44a4 100644 --- a/src/animation/AnimationMixer.js +++ b/src/animation/AnimationMixer.js @@ -6,16 +6,6 @@ import { PropertyMixer } from './PropertyMixer.js'; import { AnimationClip } from './AnimationClip.js'; import { NormalAnimationBlendMode } from '../constants.js'; -/** - * - * Player for AnimationClips. - * - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw - */ - function AnimationMixer( root ) { this._root = root; diff --git a/src/animation/AnimationObjectGroup.js b/src/animation/AnimationObjectGroup.js index eb3ab537a6..11ac05dcfb 100644 --- a/src/animation/AnimationObjectGroup.js +++ b/src/animation/AnimationObjectGroup.js @@ -28,8 +28,6 @@ import { MathUtils } from '../math/MathUtils.js'; * * - A single property can either be controlled through a * target group or directly, but not both. - * - * @author tschw */ function AnimationObjectGroup() { diff --git a/src/animation/AnimationUtils.js b/src/animation/AnimationUtils.js index d383bb443f..06a24e1807 100644 --- a/src/animation/AnimationUtils.js +++ b/src/animation/AnimationUtils.js @@ -1,9 +1,3 @@ -/** - * @author tschw - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - */ - import { Quaternion } from '../math/Quaternion.js'; import { AdditiveAnimationBlendMode } from '../constants.js'; diff --git a/src/animation/KeyframeTrack.js b/src/animation/KeyframeTrack.js index 4ee73e284b..06dd293fbf 100644 --- a/src/animation/KeyframeTrack.js +++ b/src/animation/KeyframeTrack.js @@ -8,16 +8,6 @@ import { LinearInterpolant } from '../math/interpolants/LinearInterpolant.js'; import { DiscreteInterpolant } from '../math/interpolants/DiscreteInterpolant.js'; import { AnimationUtils } from './AnimationUtils.js'; -/** - * - * A timed sequence of keyframes for a specific property. - * - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw - */ - function KeyframeTrack( name, times, values, interpolation ) { if ( name === undefined ) throw new Error( 'THREE.KeyframeTrack: track name is undefined' ); diff --git a/src/animation/PropertyBinding.js b/src/animation/PropertyBinding.js index 56c708b8a5..cb407ab532 100644 --- a/src/animation/PropertyBinding.js +++ b/src/animation/PropertyBinding.js @@ -1,13 +1,3 @@ -/** - * - * A reference to a real property in the scene graph. - * - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw - */ - // Characters [].:/ are reserved for track binding syntax. const _RESERVED_CHARS_RE = '\\[\\]\\.:\\/'; const _reservedRe = new RegExp( '[' + _RESERVED_CHARS_RE + ']', 'g' ); diff --git a/src/animation/PropertyMixer.js b/src/animation/PropertyMixer.js index 7a19a0e43a..dd7aa641a3 100644 --- a/src/animation/PropertyMixer.js +++ b/src/animation/PropertyMixer.js @@ -1,15 +1,5 @@ import { Quaternion } from '../math/Quaternion.js'; -/** - * - * Buffered scene graph property that allows weighted accumulation. - * - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw - */ - function PropertyMixer( binding, typeName, valueSize ) { this.binding = binding; diff --git a/src/animation/tracks/BooleanKeyframeTrack.js b/src/animation/tracks/BooleanKeyframeTrack.js index bec2d2dd81..e98327c246 100644 --- a/src/animation/tracks/BooleanKeyframeTrack.js +++ b/src/animation/tracks/BooleanKeyframeTrack.js @@ -2,13 +2,7 @@ import { InterpolateDiscrete } from '../../constants.js'; import { KeyframeTrack } from '../KeyframeTrack.js'; /** - * * A Track of Boolean keyframe values. - * - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw */ function BooleanKeyframeTrack( name, times, values ) { diff --git a/src/animation/tracks/ColorKeyframeTrack.js b/src/animation/tracks/ColorKeyframeTrack.js index c409645b9f..731cee082c 100644 --- a/src/animation/tracks/ColorKeyframeTrack.js +++ b/src/animation/tracks/ColorKeyframeTrack.js @@ -1,13 +1,7 @@ import { KeyframeTrack } from '../KeyframeTrack.js'; /** - * * A Track of keyframe values that represent color. - * - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw */ function ColorKeyframeTrack( name, times, values, interpolation ) { diff --git a/src/animation/tracks/NumberKeyframeTrack.js b/src/animation/tracks/NumberKeyframeTrack.js index f717221998..73b265b0aa 100644 --- a/src/animation/tracks/NumberKeyframeTrack.js +++ b/src/animation/tracks/NumberKeyframeTrack.js @@ -1,12 +1,7 @@ import { KeyframeTrack } from '../KeyframeTrack.js'; /** - * * A Track of numeric keyframe values. - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw */ function NumberKeyframeTrack( name, times, values, interpolation ) { diff --git a/src/animation/tracks/QuaternionKeyframeTrack.js b/src/animation/tracks/QuaternionKeyframeTrack.js index 95949598d6..644aaa70b6 100644 --- a/src/animation/tracks/QuaternionKeyframeTrack.js +++ b/src/animation/tracks/QuaternionKeyframeTrack.js @@ -3,12 +3,7 @@ import { KeyframeTrack } from '../KeyframeTrack.js'; import { QuaternionLinearInterpolant } from '../../math/interpolants/QuaternionLinearInterpolant.js'; /** - * * A Track of quaternion keyframe values. - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw */ function QuaternionKeyframeTrack( name, times, values, interpolation ) { diff --git a/src/animation/tracks/StringKeyframeTrack.js b/src/animation/tracks/StringKeyframeTrack.js index 5d021d2159..9cc0d61734 100644 --- a/src/animation/tracks/StringKeyframeTrack.js +++ b/src/animation/tracks/StringKeyframeTrack.js @@ -2,13 +2,7 @@ import { InterpolateDiscrete } from '../../constants.js'; import { KeyframeTrack } from '../KeyframeTrack.js'; /** - * * A Track that interpolates Strings - * - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw */ function StringKeyframeTrack( name, times, values, interpolation ) { diff --git a/src/animation/tracks/VectorKeyframeTrack.js b/src/animation/tracks/VectorKeyframeTrack.js index cff8c9f059..a49165fe39 100644 --- a/src/animation/tracks/VectorKeyframeTrack.js +++ b/src/animation/tracks/VectorKeyframeTrack.js @@ -1,13 +1,7 @@ import { KeyframeTrack } from '../KeyframeTrack.js'; /** - * * A Track of vectored keyframe values. - * - * - * @author Ben Houston / http://clara.io/ - * @author David Sarno / http://lighthaus.us/ - * @author tschw */ function VectorKeyframeTrack( name, times, values, interpolation ) { diff --git a/src/audio/Audio.js b/src/audio/Audio.js index ea7f65b99a..9fd824ffab 100644 --- a/src/audio/Audio.js +++ b/src/audio/Audio.js @@ -1,8 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author Reece Aaron Lecrivain / http://reecenotes.com/ - */ - import { Object3D } from '../core/Object3D.js'; function Audio( listener ) { diff --git a/src/cameras/Camera.js b/src/cameras/Camera.js index 0f34094799..5b71a68a24 100644 --- a/src/cameras/Camera.js +++ b/src/cameras/Camera.js @@ -1,9 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author mikael emtinger / http://gomo.se/ - * @author WestLangley / http://github.com/WestLangley -*/ - import { Matrix4 } from '../math/Matrix4.js'; import { Object3D } from '../core/Object3D.js'; import { Vector3 } from '../math/Vector3.js'; diff --git a/src/cameras/CubeCamera.js b/src/cameras/CubeCamera.js index b33619761f..388d24f583 100644 --- a/src/cameras/CubeCamera.js +++ b/src/cameras/CubeCamera.js @@ -2,13 +2,6 @@ import { Object3D } from '../core/Object3D.js'; import { Vector3 } from '../math/Vector3.js'; import { PerspectiveCamera } from './PerspectiveCamera.js'; -/** - * Camera for rendering cube maps - * - renders scene into axis-aligned cube - * - * @author alteredq / http://alteredqualia.com/ - */ - const fov = 90, aspect = 1; function CubeCamera( near, far, renderTarget ) { diff --git a/src/cameras/OrthographicCamera.js b/src/cameras/OrthographicCamera.js index 657b481c1f..022e836654 100755 --- a/src/cameras/OrthographicCamera.js +++ b/src/cameras/OrthographicCamera.js @@ -1,11 +1,6 @@ import { Camera } from './Camera.js'; import { Object3D } from '../core/Object3D.js'; -/** - * @author alteredq / http://alteredqualia.com/ - * @author arose / http://github.com/arose - */ - function OrthographicCamera( left, right, top, bottom, near, far ) { Camera.call( this ); diff --git a/src/cameras/PerspectiveCamera.js b/src/cameras/PerspectiveCamera.js index ff4e6bee67..28f1a08128 100755 --- a/src/cameras/PerspectiveCamera.js +++ b/src/cameras/PerspectiveCamera.js @@ -2,13 +2,6 @@ import { Camera } from './Camera.js'; import { Object3D } from '../core/Object3D.js'; import { MathUtils } from '../math/MathUtils.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author greggman / http://games.greggman.com/ - * @author zz85 / http://www.lab4games.net/zz85/blog - * @author tschw - */ - function PerspectiveCamera( fov, aspect, near, far ) { Camera.call( this ); diff --git a/src/core/BufferGeometry.js b/src/core/BufferGeometry.js index 14e30c6c0f..ba80125588 100644 --- a/src/core/BufferGeometry.js +++ b/src/core/BufferGeometry.js @@ -10,11 +10,6 @@ import { Matrix3 } from '../math/Matrix3.js'; import { MathUtils } from '../math/MathUtils.js'; import { arrayMax } from '../utils.js'; -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - */ - let _bufferGeometryId = 1; // BufferGeometry uses odd numbers as Id const _m1 = new Matrix4(); diff --git a/src/core/Clock.js b/src/core/Clock.js index 1bb2d6abb8..7ee43386dd 100644 --- a/src/core/Clock.js +++ b/src/core/Clock.js @@ -1,7 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - */ - function Clock( autoStart ) { this.autoStart = ( autoStart !== undefined ) ? autoStart : true; diff --git a/src/core/Face3.js b/src/core/Face3.js index 84e5eef64a..22a8feec7c 100644 --- a/src/core/Face3.js +++ b/src/core/Face3.js @@ -1,11 +1,6 @@ import { Color } from '../math/Color.js'; import { Vector3 } from '../math/Vector3.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - function Face3( a, b, c, normal, color, materialIndex ) { this.a = a; diff --git a/src/core/Geometry.js b/src/core/Geometry.js index 71b1225645..e97f023983 100644 --- a/src/core/Geometry.js +++ b/src/core/Geometry.js @@ -10,15 +10,6 @@ import { Color } from '../math/Color.js'; import { Object3D } from './Object3D.js'; import { MathUtils } from '../math/MathUtils.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author kile / http://kile.stravaganza.org/ - * @author alteredq / http://alteredqualia.com/ - * @author mikael emtinger / http://gomo.se/ - * @author zz85 / http://www.lab4games.net/zz85/blog - * @author bhouston / http://clara.io - */ - let _geometryId = 0; // Geometry uses even numbers as Id const _m1 = new Matrix4(); const _obj = new Object3D(); diff --git a/src/core/InstancedBufferAttribute.js b/src/core/InstancedBufferAttribute.js index 89279df531..d9a56c7eae 100644 --- a/src/core/InstancedBufferAttribute.js +++ b/src/core/InstancedBufferAttribute.js @@ -1,9 +1,5 @@ import { BufferAttribute } from './BufferAttribute.js'; -/** - * @author benaadams / https://twitter.com/ben_a_adams - */ - function InstancedBufferAttribute( array, itemSize, normalized, meshPerAttribute ) { if ( typeof ( normalized ) === 'number' ) { diff --git a/src/core/InstancedBufferGeometry.js b/src/core/InstancedBufferGeometry.js index 119e81788f..b762e286df 100644 --- a/src/core/InstancedBufferGeometry.js +++ b/src/core/InstancedBufferGeometry.js @@ -1,9 +1,5 @@ import { BufferGeometry } from './BufferGeometry.js'; -/** - * @author benaadams / https://twitter.com/ben_a_adams - */ - function InstancedBufferGeometry() { BufferGeometry.call( this ); diff --git a/src/core/InstancedInterleavedBuffer.js b/src/core/InstancedInterleavedBuffer.js index d09655fc1b..caae9bd0c0 100644 --- a/src/core/InstancedInterleavedBuffer.js +++ b/src/core/InstancedInterleavedBuffer.js @@ -1,9 +1,5 @@ import { InterleavedBuffer } from './InterleavedBuffer.js'; -/** - * @author benaadams / https://twitter.com/ben_a_adams - */ - function InstancedInterleavedBuffer( array, stride, meshPerAttribute ) { InterleavedBuffer.call( this, array, stride ); diff --git a/src/core/InterleavedBuffer.js b/src/core/InterleavedBuffer.js index 6fdce05329..305e997779 100644 --- a/src/core/InterleavedBuffer.js +++ b/src/core/InterleavedBuffer.js @@ -1,10 +1,6 @@ import { MathUtils } from '../math/MathUtils.js'; import { StaticDrawUsage } from '../constants.js'; -/** - * @author benaadams / https://twitter.com/ben_a_adams - */ - function InterleavedBuffer( array, stride ) { this.array = array; diff --git a/src/core/InterleavedBufferAttribute.js b/src/core/InterleavedBufferAttribute.js index 1ec62c50a7..e4a956d335 100644 --- a/src/core/InterleavedBufferAttribute.js +++ b/src/core/InterleavedBufferAttribute.js @@ -1,10 +1,6 @@ import { Vector3 } from '../math/Vector3.js'; import { BufferAttribute } from './BufferAttribute.js'; -/** - * @author benaadams / https://twitter.com/ben_a_adams - */ - const _vector = new Vector3(); function InterleavedBufferAttribute( interleavedBuffer, itemSize, offset, normalized ) { diff --git a/src/core/Object3D.js b/src/core/Object3D.js index 717c6dd18b..344603d453 100644 --- a/src/core/Object3D.js +++ b/src/core/Object3D.js @@ -25,14 +25,6 @@ const _zAxis = new Vector3( 0, 0, 1 ); const _addedEvent = { type: 'added' }; const _removedEvent = { type: 'removed' }; -/** - * @author mrdoob / http://mrdoob.com/ - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - * @author WestLangley / http://github.com/WestLangley - * @author elephantatwork / www.elephantatwork.ch - */ - function Object3D() { Object.defineProperty( this, 'id', { value: _object3DId ++ } ); diff --git a/src/core/Raycaster.js b/src/core/Raycaster.js index 74fcf669ee..d4993a63db 100644 --- a/src/core/Raycaster.js +++ b/src/core/Raycaster.js @@ -1,12 +1,6 @@ import { Ray } from '../math/Ray.js'; import { Layers } from './Layers.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author bhouston / http://clara.io/ - * @author stephomi / http://stephaneginier.com/ - */ - function Raycaster( origin, direction, near, far ) { this.ray = new Ray( origin, direction ); diff --git a/src/extras/Earcut.js b/src/extras/Earcut.js index aa394871ab..f4b30f0d54 100644 --- a/src/extras/Earcut.js +++ b/src/extras/Earcut.js @@ -1,5 +1,4 @@ /** - * @author Mugen87 / https://github.com/Mugen87 * Port from https://github.com/mapbox/earcut (v2.2.2) */ diff --git a/src/extras/ImageUtils.js b/src/extras/ImageUtils.js index 57b4ef3f15..69a165a48a 100644 --- a/src/extras/ImageUtils.js +++ b/src/extras/ImageUtils.js @@ -1,9 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author szimek / https://github.com/szimek/ - */ - let _canvas; const ImageUtils = { diff --git a/src/extras/PMREMGenerator.js b/src/extras/PMREMGenerator.js index b0383e38d1..66677393e5 100644 --- a/src/extras/PMREMGenerator.js +++ b/src/extras/PMREMGenerator.js @@ -1,17 +1,3 @@ -/** - * @author Emmett Lalish / elalish - * - * This class generates a Prefiltered, Mipmapped Radiance Environment Map - * (PMREM) from a cubeMap environment texture. This allows different levels of - * blur to be quickly accessed based on material roughness. It is packed into a - * special CubeUV format that allows us to perform custom interpolation so that - * we can support nonlinear formats such as RGBE. Unlike a traditional mipmap - * chain, it only goes down to the LOD_MIN level (above), and then creates extra - * even more filtered 'mips' at the same LOD_MIN resolution, associated with - * higher roughness levels. In this way we maintain resolution to smoothly - * interpolate diffuse lighting while limiting sampling computation. - */ - import { CubeUVReflectionMapping, GammaEncoding, @@ -86,6 +72,18 @@ const _axisDirections = [ new Vector3( PHI, INV_PHI, 0 ), new Vector3( - PHI, INV_PHI, 0 ) ]; +/** + * This class generates a Prefiltered, Mipmapped Radiance Environment Map + * (PMREM) from a cubeMap environment texture. This allows different levels of + * blur to be quickly accessed based on material roughness. It is packed into a + * special CubeUV format that allows us to perform custom interpolation so that + * we can support nonlinear formats such as RGBE. Unlike a traditional mipmap + * chain, it only goes down to the LOD_MIN level (above), and then creates extra + * even more filtered 'mips' at the same LOD_MIN resolution, associated with + * higher roughness levels. In this way we maintain resolution to smoothly + * interpolate diffuse lighting while limiting sampling computation. + */ + function PMREMGenerator( renderer ) { this._renderer = renderer; diff --git a/src/extras/ShapeUtils.js b/src/extras/ShapeUtils.js index adfdf18f2d..cc192c604c 100644 --- a/src/extras/ShapeUtils.js +++ b/src/extras/ShapeUtils.js @@ -1,7 +1,3 @@ -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - */ - import { Earcut } from './Earcut.js'; const ShapeUtils = { diff --git a/src/extras/core/Curve.js b/src/extras/core/Curve.js index f176db22f8..aef2e7e015 100644 --- a/src/extras/core/Curve.js +++ b/src/extras/core/Curve.js @@ -4,8 +4,7 @@ import { Vector3 } from '../../math/Vector3.js'; import { Matrix4 } from '../../math/Matrix4.js'; /** - * @author zz85 / http://www.lab4games.net/zz85/blog - * Extensible curve object + * Extensible curve object. * * Some common of curve methods: * .getPoint( t, optionalTarget ), .getTangent( t, optionalTarget ) @@ -34,10 +33,6 @@ import { Matrix4 } from '../../math/Matrix4.js'; * **/ -/************************************************************** - * Abstract Curve base class - **************************************************************/ - function Curve() { this.type = 'Curve'; diff --git a/src/extras/core/CurvePath.js b/src/extras/core/CurvePath.js index fca1571108..1c23602455 100644 --- a/src/extras/core/CurvePath.js +++ b/src/extras/core/CurvePath.js @@ -1,11 +1,6 @@ import { Curve } from './Curve.js'; import * as Curves from '../curves/Curves.js'; -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * - **/ - /************************************************************** * Curved Path - a curve path is simply a array of connected * curves, but retains the api of a curve diff --git a/src/extras/core/Font.js b/src/extras/core/Font.js index 4fc59d6a39..2076fcab0a 100644 --- a/src/extras/core/Font.js +++ b/src/extras/core/Font.js @@ -1,11 +1,5 @@ -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * @author mrdoob / http://mrdoob.com/ - */ - import { ShapePath } from './ShapePath.js'; - function Font( data ) { this.type = 'Font'; diff --git a/src/extras/core/Interpolations.js b/src/extras/core/Interpolations.js index f3bc33eea6..ccb479a964 100644 --- a/src/extras/core/Interpolations.js +++ b/src/extras/core/Interpolations.js @@ -1,6 +1,4 @@ /** - * @author zz85 / http://www.lab4games.net/zz85/blog - * * Bezier Curves formulas obtained from * http://en.wikipedia.org/wiki/Bézier_curve */ diff --git a/src/extras/core/Path.js b/src/extras/core/Path.js index 9d3ee7293d..932d83d807 100644 --- a/src/extras/core/Path.js +++ b/src/extras/core/Path.js @@ -6,11 +6,6 @@ import { CubicBezierCurve } from '../curves/CubicBezierCurve.js'; import { QuadraticBezierCurve } from '../curves/QuadraticBezierCurve.js'; import { LineCurve } from '../curves/LineCurve.js'; -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * Creates free form 2d path using series of points, lines or curves. - **/ - function Path( points ) { CurvePath.call( this ); diff --git a/src/extras/core/Shape.js b/src/extras/core/Shape.js index 714f965cbc..4a051c120e 100644 --- a/src/extras/core/Shape.js +++ b/src/extras/core/Shape.js @@ -1,17 +1,6 @@ import { Path } from './Path.js'; import { MathUtils } from '../../math/MathUtils.js'; -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * Defines a 2d shape plane using paths. - **/ - -// STEP 1 Create a path. -// STEP 2 Turn path into shape. -// STEP 3 ExtrudeGeometry takes in Shape/Shapes -// STEP 3a - Extract points from each shape, turn to vertices -// STEP 3b - Triangulate each shape, add faces. - function Shape( points ) { Path.call( this, points ); diff --git a/src/extras/core/ShapePath.js b/src/extras/core/ShapePath.js index 6ed95009bf..4b7fe4bc82 100644 --- a/src/extras/core/ShapePath.js +++ b/src/extras/core/ShapePath.js @@ -1,8 +1,3 @@ -/** - * @author zz85 / http://www.lab4games.net/zz85/blog - * minimal class for proxing functions to Path. Replaces old "extractSubpaths()" - **/ - import { Color } from '../../math/Color.js'; import { Path } from './Path.js'; import { Shape } from './Shape.js'; diff --git a/src/extras/curves/ArcCurve.js b/src/extras/curves/ArcCurve.js index 54b8848c4c..5cdffe3b93 100644 --- a/src/extras/curves/ArcCurve.js +++ b/src/extras/curves/ArcCurve.js @@ -1,6 +1,5 @@ import { EllipseCurve } from './EllipseCurve.js'; - function ArcCurve( aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise ) { EllipseCurve.call( this, aX, aY, aRadius, aRadius, aStartAngle, aEndAngle, aClockwise ); diff --git a/src/extras/curves/CatmullRomCurve3.js b/src/extras/curves/CatmullRomCurve3.js index 5ef203c60e..d4ff2b0ed5 100644 --- a/src/extras/curves/CatmullRomCurve3.js +++ b/src/extras/curves/CatmullRomCurve3.js @@ -2,8 +2,6 @@ import { Vector3 } from '../../math/Vector3.js'; import { Curve } from '../core/Curve.js'; /** - * @author zz85 https://github.com/zz85 - * * Centripetal CatmullRom Curve - which is useful for avoiding * cusps and self-intersections in non-uniform catmull rom curves. * http://www.cemyuksel.com/research/catmullrom_param/catmullrom.pdf diff --git a/src/extras/curves/CubicBezierCurve.js b/src/extras/curves/CubicBezierCurve.js index 8aa56c6521..013772f6d9 100644 --- a/src/extras/curves/CubicBezierCurve.js +++ b/src/extras/curves/CubicBezierCurve.js @@ -2,7 +2,6 @@ import { Curve } from '../core/Curve.js'; import { CubicBezier } from '../core/Interpolations.js'; import { Vector2 } from '../../math/Vector2.js'; - function CubicBezierCurve( v0, v1, v2, v3 ) { Curve.call( this ); diff --git a/src/extras/curves/CubicBezierCurve3.js b/src/extras/curves/CubicBezierCurve3.js index 18a66bcd81..687c026ab0 100644 --- a/src/extras/curves/CubicBezierCurve3.js +++ b/src/extras/curves/CubicBezierCurve3.js @@ -2,7 +2,6 @@ import { Curve } from '../core/Curve.js'; import { CubicBezier } from '../core/Interpolations.js'; import { Vector3 } from '../../math/Vector3.js'; - function CubicBezierCurve3( v0, v1, v2, v3 ) { Curve.call( this ); diff --git a/src/extras/curves/EllipseCurve.js b/src/extras/curves/EllipseCurve.js index 036bf0c89a..c48d8fe9f0 100644 --- a/src/extras/curves/EllipseCurve.js +++ b/src/extras/curves/EllipseCurve.js @@ -1,7 +1,6 @@ import { Curve } from '../core/Curve.js'; import { Vector2 } from '../../math/Vector2.js'; - function EllipseCurve( aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise, aRotation ) { Curve.call( this ); diff --git a/src/extras/curves/LineCurve.js b/src/extras/curves/LineCurve.js index 99f58434f0..189f45d4aa 100644 --- a/src/extras/curves/LineCurve.js +++ b/src/extras/curves/LineCurve.js @@ -1,7 +1,6 @@ import { Vector2 } from '../../math/Vector2.js'; import { Curve } from '../core/Curve.js'; - function LineCurve( v1, v2 ) { Curve.call( this ); diff --git a/src/extras/curves/LineCurve3.js b/src/extras/curves/LineCurve3.js index b3ee4ff5ab..d8393500ed 100644 --- a/src/extras/curves/LineCurve3.js +++ b/src/extras/curves/LineCurve3.js @@ -1,7 +1,6 @@ import { Vector3 } from '../../math/Vector3.js'; import { Curve } from '../core/Curve.js'; - function LineCurve3( v1, v2 ) { Curve.call( this ); diff --git a/src/extras/curves/QuadraticBezierCurve.js b/src/extras/curves/QuadraticBezierCurve.js index 1e5cbc025b..dd52bdb555 100644 --- a/src/extras/curves/QuadraticBezierCurve.js +++ b/src/extras/curves/QuadraticBezierCurve.js @@ -2,7 +2,6 @@ import { Curve } from '../core/Curve.js'; import { QuadraticBezier } from '../core/Interpolations.js'; import { Vector2 } from '../../math/Vector2.js'; - function QuadraticBezierCurve( v0, v1, v2 ) { Curve.call( this ); diff --git a/src/extras/curves/QuadraticBezierCurve3.js b/src/extras/curves/QuadraticBezierCurve3.js index e888a0aaea..ec4ed56280 100644 --- a/src/extras/curves/QuadraticBezierCurve3.js +++ b/src/extras/curves/QuadraticBezierCurve3.js @@ -2,7 +2,6 @@ import { Curve } from '../core/Curve.js'; import { QuadraticBezier } from '../core/Interpolations.js'; import { Vector3 } from '../../math/Vector3.js'; - function QuadraticBezierCurve3( v0, v1, v2 ) { Curve.call( this ); diff --git a/src/extras/curves/SplineCurve.js b/src/extras/curves/SplineCurve.js index 27312bfe5e..dc8a515216 100644 --- a/src/extras/curves/SplineCurve.js +++ b/src/extras/curves/SplineCurve.js @@ -2,8 +2,7 @@ import { Curve } from '../core/Curve.js'; import { CatmullRom } from '../core/Interpolations.js'; import { Vector2 } from '../../math/Vector2.js'; - -function SplineCurve( points /* array of Vector2 */ ) { +function SplineCurve( points ) { Curve.call( this ); diff --git a/src/extras/objects/ImmediateRenderObject.js b/src/extras/objects/ImmediateRenderObject.js index 27737b463f..aa50ce8ef6 100644 --- a/src/extras/objects/ImmediateRenderObject.js +++ b/src/extras/objects/ImmediateRenderObject.js @@ -1,9 +1,5 @@ import { Object3D } from '../../core/Object3D.js'; -/** - * @author alteredq / http://alteredqualia.com/ - */ - function ImmediateRenderObject( material ) { Object3D.call( this ); diff --git a/src/geometries/BoxGeometry.js b/src/geometries/BoxGeometry.js index d74774a6a3..f8b4752865 100644 --- a/src/geometries/BoxGeometry.js +++ b/src/geometries/BoxGeometry.js @@ -1,8 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/CircleGeometry.js b/src/geometries/CircleGeometry.js index 87492d9769..584a6ea7ff 100644 --- a/src/geometries/CircleGeometry.js +++ b/src/geometries/CircleGeometry.js @@ -1,9 +1,3 @@ -/** - * @author benaadams / https://twitter.com/ben_a_adams - * @author Mugen87 / https://github.com/Mugen87 - * @author hughes - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/ConeGeometry.js b/src/geometries/ConeGeometry.js index 21df9ac0c5..a0b29a19d4 100644 --- a/src/geometries/ConeGeometry.js +++ b/src/geometries/ConeGeometry.js @@ -1,7 +1,3 @@ -/** - * @author abelnation / http://github.com/abelnation - */ - import { CylinderGeometry } from './CylinderGeometry.js'; import { CylinderBufferGeometry } from './CylinderGeometry.js'; diff --git a/src/geometries/CylinderGeometry.js b/src/geometries/CylinderGeometry.js index 25a77ff10c..7e933525ef 100644 --- a/src/geometries/CylinderGeometry.js +++ b/src/geometries/CylinderGeometry.js @@ -1,8 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/DodecahedronGeometry.js b/src/geometries/DodecahedronGeometry.js index 60a9cf4501..a2560d44ea 100644 --- a/src/geometries/DodecahedronGeometry.js +++ b/src/geometries/DodecahedronGeometry.js @@ -1,8 +1,3 @@ -/** - * @author Abe Pazos / https://hamoid.com - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { PolyhedronBufferGeometry } from './PolyhedronGeometry.js'; diff --git a/src/geometries/EdgesGeometry.js b/src/geometries/EdgesGeometry.js index abc05454aa..b0cdb48e28 100644 --- a/src/geometries/EdgesGeometry.js +++ b/src/geometries/EdgesGeometry.js @@ -1,8 +1,3 @@ -/** - * @author WestLangley / http://github.com/WestLangley - * @author Mugen87 / https://github.com/Mugen87 - */ - import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; import { Geometry } from '../core/Geometry.js'; diff --git a/src/geometries/ExtrudeGeometry.js b/src/geometries/ExtrudeGeometry.js index 8507f44bb2..04f2175502 100644 --- a/src/geometries/ExtrudeGeometry.js +++ b/src/geometries/ExtrudeGeometry.js @@ -1,6 +1,11 @@ +import { Geometry } from '../core/Geometry.js'; +import { BufferGeometry } from '../core/BufferGeometry.js'; +import { Float32BufferAttribute } from '../core/BufferAttribute.js'; +import { Vector2 } from '../math/Vector2.js'; +import { Vector3 } from '../math/Vector3.js'; +import { ShapeUtils } from '../extras/ShapeUtils.js'; + /** - * @author zz85 / http://www.lab4games.net/zz85/blog - * * Creates extruded geometry from a path shape. * * parameters = { @@ -22,13 +27,6 @@ * } */ -import { Geometry } from '../core/Geometry.js'; -import { BufferGeometry } from '../core/BufferGeometry.js'; -import { Float32BufferAttribute } from '../core/BufferAttribute.js'; -import { Vector2 } from '../math/Vector2.js'; -import { Vector3 } from '../math/Vector3.js'; -import { ShapeUtils } from '../extras/ShapeUtils.js'; - // ExtrudeGeometry function ExtrudeGeometry( shapes, options ) { diff --git a/src/geometries/IcosahedronGeometry.js b/src/geometries/IcosahedronGeometry.js index 50c231d6b8..767a369580 100644 --- a/src/geometries/IcosahedronGeometry.js +++ b/src/geometries/IcosahedronGeometry.js @@ -1,8 +1,3 @@ -/** - * @author timothypratley / https://github.com/timothypratley - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { PolyhedronBufferGeometry } from './PolyhedronGeometry.js'; diff --git a/src/geometries/LatheGeometry.js b/src/geometries/LatheGeometry.js index 3cd222955d..38639df34a 100644 --- a/src/geometries/LatheGeometry.js +++ b/src/geometries/LatheGeometry.js @@ -1,9 +1,3 @@ -/** - * @author zz85 / https://github.com/zz85 - * @author bhouston / http://clara.io - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; diff --git a/src/geometries/OctahedronGeometry.js b/src/geometries/OctahedronGeometry.js index d6b8b122c4..eb551c002e 100644 --- a/src/geometries/OctahedronGeometry.js +++ b/src/geometries/OctahedronGeometry.js @@ -1,8 +1,3 @@ -/** - * @author timothypratley / https://github.com/timothypratley - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { PolyhedronBufferGeometry } from './PolyhedronGeometry.js'; diff --git a/src/geometries/ParametricGeometry.js b/src/geometries/ParametricGeometry.js index 1401b834e0..192ecf41a3 100644 --- a/src/geometries/ParametricGeometry.js +++ b/src/geometries/ParametricGeometry.js @@ -1,16 +1,13 @@ -/** - * @author zz85 / https://github.com/zz85 - * @author Mugen87 / https://github.com/Mugen87 - * - * Parametric Surfaces Geometry - * based on the brilliant article by @prideout https://prideout.net/blog/old/blog/index.html@p=44.html - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; import { Vector3 } from '../math/Vector3.js'; +/** + * Parametric Surfaces Geometry + * based on the brilliant article by @prideout https://prideout.net/blog/old/blog/index.html@p=44.html + */ + // ParametricGeometry function ParametricGeometry( func, slices, stacks ) { diff --git a/src/geometries/PlaneGeometry.js b/src/geometries/PlaneGeometry.js index 8ccd6fc754..3ce2ed74a5 100644 --- a/src/geometries/PlaneGeometry.js +++ b/src/geometries/PlaneGeometry.js @@ -1,8 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/PolyhedronGeometry.js b/src/geometries/PolyhedronGeometry.js index 1bd464ab55..6fa0c4c808 100644 --- a/src/geometries/PolyhedronGeometry.js +++ b/src/geometries/PolyhedronGeometry.js @@ -1,10 +1,3 @@ -/** - * @author clockworkgeek / https://github.com/clockworkgeek - * @author timothypratley / https://github.com/timothypratley - * @author WestLangley / http://github.com/WestLangley - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/RingGeometry.js b/src/geometries/RingGeometry.js index 9f78862f4a..caed26d778 100644 --- a/src/geometries/RingGeometry.js +++ b/src/geometries/RingGeometry.js @@ -1,8 +1,3 @@ -/** - * @author Kaleb Murphy - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/ShapeGeometry.js b/src/geometries/ShapeGeometry.js index 3d0b18626f..750f223421 100644 --- a/src/geometries/ShapeGeometry.js +++ b/src/geometries/ShapeGeometry.js @@ -1,8 +1,3 @@ -/** - * @author jonobr1 / http://jonobr1.com - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/SphereGeometry.js b/src/geometries/SphereGeometry.js index a86e46dabd..a52005ab83 100644 --- a/src/geometries/SphereGeometry.js +++ b/src/geometries/SphereGeometry.js @@ -1,9 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author benaadams / https://twitter.com/ben_a_adams - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/TetrahedronGeometry.js b/src/geometries/TetrahedronGeometry.js index 561b376c38..98e84e0418 100644 --- a/src/geometries/TetrahedronGeometry.js +++ b/src/geometries/TetrahedronGeometry.js @@ -1,8 +1,3 @@ -/** - * @author timothypratley / https://github.com/timothypratley - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { PolyhedronBufferGeometry } from './PolyhedronGeometry.js'; diff --git a/src/geometries/TextGeometry.js b/src/geometries/TextGeometry.js index 1c00c536c3..46e8c69380 100644 --- a/src/geometries/TextGeometry.js +++ b/src/geometries/TextGeometry.js @@ -1,7 +1,7 @@ +import { Geometry } from '../core/Geometry.js'; +import { ExtrudeBufferGeometry } from './ExtrudeGeometry.js'; + /** - * @author zz85 / http://www.lab4games.net/zz85/blog - * @author alteredq / http://alteredqualia.com/ - * * Text = 3D Text * * parameters = { @@ -18,9 +18,6 @@ * } */ -import { Geometry } from '../core/Geometry.js'; -import { ExtrudeBufferGeometry } from './ExtrudeGeometry.js'; - // TextGeometry function TextGeometry( text, parameters ) { diff --git a/src/geometries/TorusGeometry.js b/src/geometries/TorusGeometry.js index a0beaf7f61..625d7c49e6 100644 --- a/src/geometries/TorusGeometry.js +++ b/src/geometries/TorusGeometry.js @@ -1,9 +1,3 @@ -/** - * @author oosmoxiecode - * @author mrdoob / http://mrdoob.com/ - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/TorusKnotGeometry.js b/src/geometries/TorusKnotGeometry.js index 64e2d7a8d6..c2d5fd8ba7 100644 --- a/src/geometries/TorusKnotGeometry.js +++ b/src/geometries/TorusKnotGeometry.js @@ -1,10 +1,3 @@ -/** - * @author oosmoxiecode - * @author Mugen87 / https://github.com/Mugen87 - * - * based on http://www.blackpawn.com/texts/pqtorus/ - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/TubeGeometry.js b/src/geometries/TubeGeometry.js index 1ae908738e..5daf8c64e6 100644 --- a/src/geometries/TubeGeometry.js +++ b/src/geometries/TubeGeometry.js @@ -1,13 +1,3 @@ -/** - * @author oosmoxiecode / https://github.com/oosmoxiecode - * @author WestLangley / https://github.com/WestLangley - * @author zz85 / https://github.com/zz85 - * @author miningold / https://github.com/miningold - * @author jonobr1 / https://github.com/jonobr1 - * @author Mugen87 / https://github.com/Mugen87 - * - */ - import { Geometry } from '../core/Geometry.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/geometries/WireframeGeometry.js b/src/geometries/WireframeGeometry.js index 3ad226e466..6713d1d238 100644 --- a/src/geometries/WireframeGeometry.js +++ b/src/geometries/WireframeGeometry.js @@ -1,8 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author Mugen87 / https://github.com/Mugen87 - */ - import { BufferGeometry } from '../core/BufferGeometry.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; import { Vector3 } from '../math/Vector3.js'; diff --git a/src/helpers/ArrowHelper.js b/src/helpers/ArrowHelper.js index 7a21bc9fcd..6017c70aef 100644 --- a/src/helpers/ArrowHelper.js +++ b/src/helpers/ArrowHelper.js @@ -1,19 +1,3 @@ -/** - * @author WestLangley / http://github.com/WestLangley - * @author zz85 / http://github.com/zz85 - * @author bhouston / http://clara.io - * - * Creates an arrow for visualizing directions - * - * Parameters: - * dir - Vector3 - * origin - Vector3 - * length - Number - * color - color in hex value - * headLength - Number - * headWidth - Number - */ - import { Float32BufferAttribute } from '../core/BufferAttribute.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; import { Object3D } from '../core/Object3D.js'; diff --git a/src/helpers/AxesHelper.js b/src/helpers/AxesHelper.js index 9e073f809d..f954309efe 100644 --- a/src/helpers/AxesHelper.js +++ b/src/helpers/AxesHelper.js @@ -1,8 +1,3 @@ -/** - * @author sroucheray / http://sroucheray.org/ - * @author mrdoob / http://mrdoob.com/ - */ - import { LineSegments } from '../objects/LineSegments.js'; import { LineBasicMaterial } from '../materials/LineBasicMaterial.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/helpers/Box3Helper.js b/src/helpers/Box3Helper.js index 8dcead3b2a..d81b06577f 100644 --- a/src/helpers/Box3Helper.js +++ b/src/helpers/Box3Helper.js @@ -1,7 +1,3 @@ -/** - * @author WestLangley / http://github.com/WestLangley - */ - import { LineSegments } from '../objects/LineSegments.js'; import { LineBasicMaterial } from '../materials/LineBasicMaterial.js'; import { BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/helpers/BoxHelper.js b/src/helpers/BoxHelper.js index 3246937f0b..beb79f95b9 100644 --- a/src/helpers/BoxHelper.js +++ b/src/helpers/BoxHelper.js @@ -1,8 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author Mugen87 / http://github.com/Mugen87 - */ - import { Box3 } from '../math/Box3.js'; import { LineSegments } from '../objects/LineSegments.js'; import { LineBasicMaterial } from '../materials/LineBasicMaterial.js'; diff --git a/src/helpers/CameraHelper.js b/src/helpers/CameraHelper.js index 291065d069..debe0d02d7 100644 --- a/src/helpers/CameraHelper.js +++ b/src/helpers/CameraHelper.js @@ -1,13 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - * @author Mugen87 / https://github.com/Mugen87 - * - * - shows frustum, line of sight and up of the camera - * - suitable for fast updates - * - based on frustum visualization in lightgl.js shadowmap example - * http://evanw.github.com/lightgl.js/tests/shadowmap.html - */ - import { Camera } from '../cameras/Camera.js'; import { Vector3 } from '../math/Vector3.js'; import { LineSegments } from '../objects/LineSegments.js'; @@ -19,6 +9,13 @@ import { Float32BufferAttribute } from '../core/BufferAttribute.js'; const _vector = new Vector3(); const _camera = new Camera(); +/** + * - shows frustum, line of sight and up of the camera + * - suitable for fast updates + * - based on frustum visualization in lightgl.js shadowmap example + * http://evanw.github.com/lightgl.js/tests/shadowmap.html + */ + function CameraHelper( camera ) { const geometry = new BufferGeometry(); diff --git a/src/helpers/DirectionalLightHelper.js b/src/helpers/DirectionalLightHelper.js index e10d624479..8733ee0543 100644 --- a/src/helpers/DirectionalLightHelper.js +++ b/src/helpers/DirectionalLightHelper.js @@ -1,9 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - * @author WestLangley / http://github.com/WestLangley - */ - import { Vector3 } from '../math/Vector3.js'; import { Object3D } from '../core/Object3D.js'; import { Line } from '../objects/Line.js'; diff --git a/src/helpers/HemisphereLightHelper.js b/src/helpers/HemisphereLightHelper.js index dd9dd9020a..10d7bdd123 100644 --- a/src/helpers/HemisphereLightHelper.js +++ b/src/helpers/HemisphereLightHelper.js @@ -1,9 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Vector3 } from '../math/Vector3.js'; import { Color } from '../math/Color.js'; import { Object3D } from '../core/Object3D.js'; diff --git a/src/helpers/PlaneHelper.js b/src/helpers/PlaneHelper.js index 4b7e81ce11..f8ef4f5f26 100644 --- a/src/helpers/PlaneHelper.js +++ b/src/helpers/PlaneHelper.js @@ -1,7 +1,3 @@ -/** - * @author WestLangley / http://github.com/WestLangley - */ - import { Line } from '../objects/Line.js'; import { Mesh } from '../objects/Mesh.js'; import { LineBasicMaterial } from '../materials/LineBasicMaterial.js'; diff --git a/src/helpers/PointLightHelper.js b/src/helpers/PointLightHelper.js index b26a8aac59..8bd8d079dd 100644 --- a/src/helpers/PointLightHelper.js +++ b/src/helpers/PointLightHelper.js @@ -1,8 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - */ - import { Mesh } from '../objects/Mesh.js'; import { MeshBasicMaterial } from '../materials/MeshBasicMaterial.js'; import { SphereBufferGeometry } from '../geometries/SphereGeometry.js'; diff --git a/src/helpers/PolarGridHelper.js b/src/helpers/PolarGridHelper.js index 861b616084..cf2b069e28 100644 --- a/src/helpers/PolarGridHelper.js +++ b/src/helpers/PolarGridHelper.js @@ -1,9 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author Mugen87 / http://github.com/Mugen87 - * @author Hectate / http://www.github.com/Hectate - */ - import { LineSegments } from '../objects/LineSegments.js'; import { LineBasicMaterial } from '../materials/LineBasicMaterial.js'; import { Float32BufferAttribute } from '../core/BufferAttribute.js'; diff --git a/src/helpers/SkeletonHelper.js b/src/helpers/SkeletonHelper.js index 3d8ec0efdc..69f269a498 100644 --- a/src/helpers/SkeletonHelper.js +++ b/src/helpers/SkeletonHelper.js @@ -1,11 +1,3 @@ -/** - * @author Sean Griffin / http://twitter.com/sgrif - * @author Michael Guerrero / http://realitymeltdown.com - * @author mrdoob / http://mrdoob.com/ - * @author ikerr / http://verold.com - * @author Mugen87 / https://github.com/Mugen87 - */ - import { LineSegments } from '../objects/LineSegments.js'; import { Matrix4 } from '../math/Matrix4.js'; import { LineBasicMaterial } from '../materials/LineBasicMaterial.js'; diff --git a/src/helpers/SpotLightHelper.js b/src/helpers/SpotLightHelper.js index 92dc3614e1..3b9359b93d 100644 --- a/src/helpers/SpotLightHelper.js +++ b/src/helpers/SpotLightHelper.js @@ -1,9 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - * @author WestLangley / http://github.com/WestLangley - */ - import { Vector3 } from '../math/Vector3.js'; import { Object3D } from '../core/Object3D.js'; import { LineSegments } from '../objects/LineSegments.js'; diff --git a/src/lights/AmbientLightProbe.js b/src/lights/AmbientLightProbe.js index 4119804499..a8b514e061 100644 --- a/src/lights/AmbientLightProbe.js +++ b/src/lights/AmbientLightProbe.js @@ -1,7 +1,3 @@ -/** - * @author WestLangley / http://github.com/WestLangley - */ - import { Color } from '../math/Color.js'; import { LightProbe } from './LightProbe.js'; diff --git a/src/lights/DirectionalLight.js b/src/lights/DirectionalLight.js index 396a2a2282..724e954f09 100644 --- a/src/lights/DirectionalLight.js +++ b/src/lights/DirectionalLight.js @@ -2,11 +2,6 @@ import { Light } from './Light.js'; import { DirectionalLightShadow } from './DirectionalLightShadow.js'; import { Object3D } from '../core/Object3D.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - function DirectionalLight( color, intensity ) { Light.call( this, color, intensity ); diff --git a/src/lights/HemisphereLight.js b/src/lights/HemisphereLight.js index 84ccacb153..25df3cbbbd 100644 --- a/src/lights/HemisphereLight.js +++ b/src/lights/HemisphereLight.js @@ -2,10 +2,6 @@ import { Light } from './Light.js'; import { Color } from '../math/Color.js'; import { Object3D } from '../core/Object3D.js'; -/** - * @author alteredq / http://alteredqualia.com/ - */ - function HemisphereLight( skyColor, groundColor, intensity ) { Light.call( this, skyColor, intensity ); diff --git a/src/lights/HemisphereLightProbe.js b/src/lights/HemisphereLightProbe.js index f169a105c0..261e7e09c7 100644 --- a/src/lights/HemisphereLightProbe.js +++ b/src/lights/HemisphereLightProbe.js @@ -1,7 +1,3 @@ -/** - * @author WestLangley / http://github.com/WestLangley - */ - import { Color } from '../math/Color.js'; import { Vector3 } from '../math/Vector3.js'; import { LightProbe } from './LightProbe.js'; diff --git a/src/lights/Light.js b/src/lights/Light.js index a0057a0a9d..fdbb9b1540 100644 --- a/src/lights/Light.js +++ b/src/lights/Light.js @@ -1,11 +1,6 @@ import { Object3D } from '../core/Object3D.js'; import { Color } from '../math/Color.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - function Light( color, intensity ) { Object3D.call( this ); diff --git a/src/lights/LightProbe.js b/src/lights/LightProbe.js index b86b3f5b2e..e48aea005c 100644 --- a/src/lights/LightProbe.js +++ b/src/lights/LightProbe.js @@ -1,9 +1,3 @@ -/** - * @author WestLangley / http://github.com/WestLangley - * - * A LightProbe is a source of indirect-diffuse light - */ - import { SphericalHarmonics3 } from '../math/SphericalHarmonics3.js'; import { Light } from './Light.js'; diff --git a/src/lights/PointLight.js b/src/lights/PointLight.js index e4fbec95da..0fc7ef70d7 100644 --- a/src/lights/PointLight.js +++ b/src/lights/PointLight.js @@ -1,7 +1,6 @@ import { Light } from './Light.js'; import { PointLightShadow } from './PointLightShadow.js'; - function PointLight( color, intensity, distance, decay ) { Light.call( this, color, intensity ); diff --git a/src/lights/RectAreaLight.js b/src/lights/RectAreaLight.js index 69bf2bd880..b3c32a4944 100644 --- a/src/lights/RectAreaLight.js +++ b/src/lights/RectAreaLight.js @@ -1,9 +1,5 @@ import { Light } from './Light.js'; -/** - * @author abelnation / http://github.com/abelnation - */ - function RectAreaLight( color, intensity, width, height ) { Light.call( this, color, intensity ); diff --git a/src/lights/SpotLight.js b/src/lights/SpotLight.js index 90d891af10..da921df3b2 100644 --- a/src/lights/SpotLight.js +++ b/src/lights/SpotLight.js @@ -2,10 +2,6 @@ import { Light } from './Light.js'; import { SpotLightShadow } from './SpotLightShadow.js'; import { Object3D } from '../core/Object3D.js'; -/** - * @author alteredq / http://alteredqualia.com/ - */ - function SpotLight( color, intensity, distance, angle, penumbra, decay ) { Light.call( this, color, intensity ); diff --git a/src/loaders/AnimationLoader.js b/src/loaders/AnimationLoader.js index 487280043a..cdb37d54c7 100644 --- a/src/loaders/AnimationLoader.js +++ b/src/loaders/AnimationLoader.js @@ -2,10 +2,6 @@ import { AnimationClip } from '../animation/AnimationClip.js'; import { FileLoader } from './FileLoader.js'; import { Loader } from './Loader.js'; -/** - * @author bhouston / http://clara.io/ - */ - function AnimationLoader( manager ) { Loader.call( this, manager ); diff --git a/src/loaders/AudioLoader.js b/src/loaders/AudioLoader.js index 19618a75bf..09e0378c77 100644 --- a/src/loaders/AudioLoader.js +++ b/src/loaders/AudioLoader.js @@ -2,10 +2,6 @@ import { AudioContext } from '../audio/AudioContext.js'; import { FileLoader } from './FileLoader.js'; import { Loader } from './Loader.js'; -/** - * @author Reece Aaron Lecrivain / http://reecenotes.com/ - */ - function AudioLoader( manager ) { Loader.call( this, manager ); diff --git a/src/loaders/CompressedTextureLoader.js b/src/loaders/CompressedTextureLoader.js index 1c9c4080df..ba41918492 100644 --- a/src/loaders/CompressedTextureLoader.js +++ b/src/loaders/CompressedTextureLoader.js @@ -4,8 +4,6 @@ import { CompressedTexture } from '../textures/CompressedTexture.js'; import { Loader } from './Loader.js'; /** - * @author mrdoob / http://mrdoob.com/ - * * Abstract Base class to block based textures loader (dds, pvr, ...) * * Sub classes have to implement the parse() method which will be used in load(). diff --git a/src/loaders/CubeTextureLoader.js b/src/loaders/CubeTextureLoader.js index 9079fda669..61a508d3f7 100644 --- a/src/loaders/CubeTextureLoader.js +++ b/src/loaders/CubeTextureLoader.js @@ -2,7 +2,6 @@ import { ImageLoader } from './ImageLoader.js'; import { CubeTexture } from '../textures/CubeTexture.js'; import { Loader } from './Loader.js'; - function CubeTextureLoader( manager ) { Loader.call( this, manager ); diff --git a/src/loaders/DataTextureLoader.js b/src/loaders/DataTextureLoader.js index d882fd3c0d..1d49ad16a2 100644 --- a/src/loaders/DataTextureLoader.js +++ b/src/loaders/DataTextureLoader.js @@ -4,8 +4,6 @@ import { DataTexture } from '../textures/DataTexture.js'; import { Loader } from './Loader.js'; /** - * @author Nikos M. / https://github.com/foo123/ - * * Abstract Base class to load generic binary textures formats (rgbe, hdr, ...) * * Sub classes have to implement the parse() method which will be used in load(). diff --git a/src/loaders/ImageBitmapLoader.js b/src/loaders/ImageBitmapLoader.js index 9d831e4b84..b0eff4039e 100644 --- a/src/loaders/ImageBitmapLoader.js +++ b/src/loaders/ImageBitmapLoader.js @@ -1,11 +1,6 @@ -/** - * @author thespite / http://clicktorelease.com/ - */ - import { Cache } from './Cache.js'; import { Loader } from './Loader.js'; - function ImageBitmapLoader( manager ) { if ( typeof createImageBitmap === 'undefined' ) { diff --git a/src/loaders/Loader.js b/src/loaders/Loader.js index 6b5aca16c9..c35161d194 100644 --- a/src/loaders/Loader.js +++ b/src/loaders/Loader.js @@ -1,9 +1,5 @@ import { DefaultLoadingManager } from './LoadingManager.js'; -/** - * @author alteredq / http://alteredqualia.com/ - */ - function Loader( manager ) { this.manager = ( manager !== undefined ) ? manager : DefaultLoadingManager; diff --git a/src/loaders/LoaderUtils.js b/src/loaders/LoaderUtils.js index 4289b2ac74..9bda4b40a1 100644 --- a/src/loaders/LoaderUtils.js +++ b/src/loaders/LoaderUtils.js @@ -1,7 +1,3 @@ -/** - * @author Don McCurdy / https://www.donmccurdy.com - */ - const LoaderUtils = { decodeText: function ( array ) { diff --git a/src/materials/LineBasicMaterial.js b/src/materials/LineBasicMaterial.js index 3bdccca920..e77e19b8a0 100644 --- a/src/materials/LineBasicMaterial.js +++ b/src/materials/LineBasicMaterial.js @@ -2,9 +2,6 @@ import { Material } from './Material.js'; import { Color } from '../math/Color.js'; /** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * * parameters = { * color: , * opacity: , diff --git a/src/materials/LineDashedMaterial.js b/src/materials/LineDashedMaterial.js index 9fc30d4f0a..a86736ae5d 100644 --- a/src/materials/LineDashedMaterial.js +++ b/src/materials/LineDashedMaterial.js @@ -1,6 +1,6 @@ +import { LineBasicMaterial } from './LineBasicMaterial.js'; + /** - * @author alteredq / http://alteredqualia.com/ - * * parameters = { * color: , * opacity: , @@ -13,8 +13,6 @@ * } */ -import { LineBasicMaterial } from './LineBasicMaterial.js'; - function LineDashedMaterial( parameters ) { LineBasicMaterial.call( this ); diff --git a/src/materials/Material.js b/src/materials/Material.js index a2a178f864..e5ea51e94c 100644 --- a/src/materials/Material.js +++ b/src/materials/Material.js @@ -2,11 +2,6 @@ import { EventDispatcher } from '../core/EventDispatcher.js'; import { FrontSide, FlatShading, NormalBlending, LessEqualDepth, AddEquation, OneMinusSrcAlphaFactor, SrcAlphaFactor, AlwaysStencilFunc, KeepStencilOp } from '../constants.js'; import { MathUtils } from '../math/MathUtils.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - let materialId = 0; function Material() { diff --git a/src/materials/MeshBasicMaterial.js b/src/materials/MeshBasicMaterial.js index 1d6b7ae1b2..778b92704a 100644 --- a/src/materials/MeshBasicMaterial.js +++ b/src/materials/MeshBasicMaterial.js @@ -3,9 +3,6 @@ import { MultiplyOperation } from '../constants.js'; import { Color } from '../math/Color.js'; /** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * * parameters = { * color: , * opacity: , diff --git a/src/materials/MeshDepthMaterial.js b/src/materials/MeshDepthMaterial.js index 4623da37be..108dce9b62 100644 --- a/src/materials/MeshDepthMaterial.js +++ b/src/materials/MeshDepthMaterial.js @@ -2,11 +2,6 @@ import { Material } from './Material.js'; import { BasicDepthPacking } from '../constants.js'; /** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author bhouston / https://clara.io - * @author WestLangley / http://github.com/WestLangley - * * parameters = { * * opacity: , diff --git a/src/materials/MeshDistanceMaterial.js b/src/materials/MeshDistanceMaterial.js index 52cba5fd26..9c47141a69 100644 --- a/src/materials/MeshDistanceMaterial.js +++ b/src/materials/MeshDistanceMaterial.js @@ -2,8 +2,6 @@ import { Material } from './Material.js'; import { Vector3 } from '../math/Vector3.js'; /** - * @author WestLangley / http://github.com/WestLangley - * * parameters = { * * referencePosition: , diff --git a/src/materials/MeshLambertMaterial.js b/src/materials/MeshLambertMaterial.js index 949310e3cd..b3f4ab8bba 100644 --- a/src/materials/MeshLambertMaterial.js +++ b/src/materials/MeshLambertMaterial.js @@ -3,9 +3,6 @@ import { MultiplyOperation } from '../constants.js'; import { Color } from '../math/Color.js'; /** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * * parameters = { * color: , * opacity: , diff --git a/src/materials/MeshMatcapMaterial.js b/src/materials/MeshMatcapMaterial.js index a3f1185a78..725caa81f3 100644 --- a/src/materials/MeshMatcapMaterial.js +++ b/src/materials/MeshMatcapMaterial.js @@ -4,8 +4,6 @@ import { Vector2 } from '../math/Vector2.js'; import { Color } from '../math/Color.js'; /** - * @author WestLangley / http://github.com/WestLangley - * * parameters = { * color: , * opacity: , diff --git a/src/materials/MeshNormalMaterial.js b/src/materials/MeshNormalMaterial.js index cd3d0e0430..8d4c01ca7d 100644 --- a/src/materials/MeshNormalMaterial.js +++ b/src/materials/MeshNormalMaterial.js @@ -3,9 +3,6 @@ import { Material } from './Material.js'; import { Vector2 } from '../math/Vector2.js'; /** - * @author mrdoob / http://mrdoob.com/ - * @author WestLangley / http://github.com/WestLangley - * * parameters = { * opacity: , * diff --git a/src/materials/MeshPhongMaterial.js b/src/materials/MeshPhongMaterial.js index d101d9f294..c822470366 100644 --- a/src/materials/MeshPhongMaterial.js +++ b/src/materials/MeshPhongMaterial.js @@ -4,9 +4,6 @@ import { Vector2 } from '../math/Vector2.js'; import { Color } from '../math/Color.js'; /** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * * parameters = { * color: , * specular: , diff --git a/src/materials/MeshPhysicalMaterial.js b/src/materials/MeshPhysicalMaterial.js index 7b795f64e3..0f9d1189a6 100644 --- a/src/materials/MeshPhysicalMaterial.js +++ b/src/materials/MeshPhysicalMaterial.js @@ -3,8 +3,6 @@ import { MeshStandardMaterial } from './MeshStandardMaterial.js'; import { Color } from '../math/Color.js'; /** - * @author WestLangley / http://github.com/WestLangley - * * parameters = { * clearcoat: , * clearcoatMap: new THREE.Texture( ), diff --git a/src/materials/MeshStandardMaterial.js b/src/materials/MeshStandardMaterial.js index da90475e6d..1c9b98d746 100644 --- a/src/materials/MeshStandardMaterial.js +++ b/src/materials/MeshStandardMaterial.js @@ -4,8 +4,6 @@ import { Vector2 } from '../math/Vector2.js'; import { Color } from '../math/Color.js'; /** - * @author WestLangley / http://github.com/WestLangley - * * parameters = { * color: , * roughness: , diff --git a/src/materials/MeshToonMaterial.js b/src/materials/MeshToonMaterial.js index 5860138e96..0327dd4905 100644 --- a/src/materials/MeshToonMaterial.js +++ b/src/materials/MeshToonMaterial.js @@ -4,8 +4,6 @@ import { Vector2 } from '../math/Vector2.js'; import { Color } from '../math/Color.js'; /** - * @author takahirox / http://github.com/takahirox - * * parameters = { * color: , * diff --git a/src/materials/PointsMaterial.js b/src/materials/PointsMaterial.js index 3814a9a6e1..64fc2aa39b 100644 --- a/src/materials/PointsMaterial.js +++ b/src/materials/PointsMaterial.js @@ -2,9 +2,6 @@ import { Material } from './Material.js'; import { Color } from '../math/Color.js'; /** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * * parameters = { * color: , * opacity: , diff --git a/src/materials/ShaderMaterial.js b/src/materials/ShaderMaterial.js index 59087ef40a..7d932f4910 100644 --- a/src/materials/ShaderMaterial.js +++ b/src/materials/ShaderMaterial.js @@ -1,6 +1,10 @@ +import { Material } from './Material.js'; +import { cloneUniforms } from '../renderers/shaders/UniformsUtils.js'; + +import default_vertex from '../renderers/shaders/ShaderChunk/default_vertex.glsl.js'; +import default_fragment from '../renderers/shaders/ShaderChunk/default_fragment.glsl.js'; + /** - * @author alteredq / http://alteredqualia.com/ - * * parameters = { * defines: { "label" : "value" }, * uniforms: { "parameter1": { value: 1.0 }, "parameter2": { value2: 2 } }, @@ -19,12 +23,6 @@ * } */ -import { Material } from './Material.js'; -import { cloneUniforms } from '../renderers/shaders/UniformsUtils.js'; - -import default_vertex from '../renderers/shaders/ShaderChunk/default_vertex.glsl.js'; -import default_fragment from '../renderers/shaders/ShaderChunk/default_fragment.glsl.js'; - function ShaderMaterial( parameters ) { Material.call( this ); diff --git a/src/materials/ShadowMaterial.js b/src/materials/ShadowMaterial.js index b4622c150a..7889f2e4ae 100644 --- a/src/materials/ShadowMaterial.js +++ b/src/materials/ShadowMaterial.js @@ -1,14 +1,12 @@ +import { Material } from './Material.js'; +import { Color } from '../math/Color.js'; + /** - * @author mrdoob / http://mrdoob.com/ - * * parameters = { * color: * } */ -import { Material } from './Material.js'; -import { Color } from '../math/Color.js'; - function ShadowMaterial( parameters ) { Material.call( this ); diff --git a/src/materials/SpriteMaterial.js b/src/materials/SpriteMaterial.js index c186a0babe..135daf5733 100644 --- a/src/materials/SpriteMaterial.js +++ b/src/materials/SpriteMaterial.js @@ -2,8 +2,6 @@ import { Material } from './Material.js'; import { Color } from '../math/Color.js'; /** - * @author alteredq / http://alteredqualia.com/ - * * parameters = { * color: , * map: new THREE.Texture( ), diff --git a/src/math/Box2.js b/src/math/Box2.js index 0aaeb7865e..d37bce168b 100644 --- a/src/math/Box2.js +++ b/src/math/Box2.js @@ -1,9 +1,5 @@ import { Vector2 } from './Vector2.js'; -/** - * @author bhouston / http://clara.io - */ - const _vector = new Vector2(); function Box2( min, max ) { diff --git a/src/math/Box3.js b/src/math/Box3.js index 2511c9c376..06143efaf6 100644 --- a/src/math/Box3.js +++ b/src/math/Box3.js @@ -32,11 +32,6 @@ const _extents = new Vector3(); const _triangleNormal = new Vector3(); const _testAxis = new Vector3(); -/** - * @author bhouston / http://clara.io - * @author WestLangley / http://github.com/WestLangley - */ - function Box3( min, max ) { this.min = ( min !== undefined ) ? min : new Vector3( + Infinity, + Infinity, + Infinity ); diff --git a/src/math/Color.d.ts b/src/math/Color.d.ts index 680334dc53..53030e6d07 100644 --- a/src/math/Color.d.ts +++ b/src/math/Color.d.ts @@ -1,9 +1,5 @@ import { BufferAttribute } from './../core/BufferAttribute'; -/** - * @author Joe Pea / http://github.com/trusktr - */ - export interface HSL { h: number; s: number; diff --git a/src/math/Cylindrical.js b/src/math/Cylindrical.js index 8b7452f487..3609d5ac73 100644 --- a/src/math/Cylindrical.js +++ b/src/math/Cylindrical.js @@ -1,8 +1,5 @@ /** - * @author Mugen87 / https://github.com/Mugen87 - * * Ref: https://en.wikipedia.org/wiki/Cylindrical_coordinate_system - * */ function Cylindrical( radius, theta, y ) { diff --git a/src/math/Euler.js b/src/math/Euler.js index 49940d9ae0..455c7bbc3e 100644 --- a/src/math/Euler.js +++ b/src/math/Euler.js @@ -3,12 +3,6 @@ import { Vector3 } from './Vector3.js'; import { Matrix4 } from './Matrix4.js'; import { MathUtils } from './MathUtils.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author WestLangley / http://github.com/WestLangley - * @author bhouston / http://clara.io - */ - const _matrix = new Matrix4(); const _quaternion = new Quaternion(); diff --git a/src/math/Frustum.js b/src/math/Frustum.js index 582547395b..68f4013beb 100644 --- a/src/math/Frustum.js +++ b/src/math/Frustum.js @@ -2,12 +2,6 @@ import { Vector3 } from './Vector3.js'; import { Sphere } from './Sphere.js'; import { Plane } from './Plane.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author bhouston / http://clara.io - */ - const _sphere = new Sphere(); const _vector = new Vector3(); diff --git a/src/math/Interpolant.js b/src/math/Interpolant.js index 6306931471..83828d92c0 100644 --- a/src/math/Interpolant.js +++ b/src/math/Interpolant.js @@ -17,7 +17,6 @@ * * http://www.oodesign.com/template-method-pattern.html * - * @author tschw */ function Interpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) { diff --git a/src/math/Line3.js b/src/math/Line3.js index 1402b77dc2..13e259a13d 100644 --- a/src/math/Line3.js +++ b/src/math/Line3.js @@ -1,10 +1,6 @@ import { Vector3 } from './Vector3.js'; import { MathUtils } from './MathUtils.js'; -/** - * @author bhouston / http://clara.io - */ - const _startP = new Vector3(); const _startEnd = new Vector3(); diff --git a/src/math/MathUtils.js b/src/math/MathUtils.js index a7731078e2..2652d1a7de 100644 --- a/src/math/MathUtils.js +++ b/src/math/MathUtils.js @@ -1,10 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - * @author WestLangley / http://github.com/WestLangley - * @author thezwap - */ - const _lut = []; for ( let i = 0; i < 256; i ++ ) { diff --git a/src/math/Matrix3.js b/src/math/Matrix3.js index ebf924fcfd..a8a0d6a34a 100644 --- a/src/math/Matrix3.js +++ b/src/math/Matrix3.js @@ -1,10 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - * @author WestLangley / http://github.com/WestLangley - * @author bhouston / http://clara.io - * @author tschw - */ - function Matrix3() { this.elements = [ diff --git a/src/math/Matrix4.js b/src/math/Matrix4.js index 513dea3493..6054989a4c 100644 --- a/src/math/Matrix4.js +++ b/src/math/Matrix4.js @@ -8,19 +8,6 @@ const _x = new Vector3(); const _y = new Vector3(); const _z = new Vector3(); -/** - * @author mrdoob / http://mrdoob.com/ - * @author supereggbert / http://www.paulbrunt.co.uk/ - * @author philogb / http://blog.thejit.org/ - * @author jordi_ros / http://plattsoft.com - * @author D1plo1d / http://github.com/D1plo1d - * @author alteredq / http://alteredqualia.com/ - * @author mikael emtinger / http://gomo.se/ - * @author timknip / http://www.floorplanner.com/ - * @author bhouston / http://clara.io - * @author WestLangley / http://github.com/WestLangley - */ - function Matrix4() { this.elements = [ diff --git a/src/math/Plane.js b/src/math/Plane.js index 9795af7ee6..d643678612 100644 --- a/src/math/Plane.js +++ b/src/math/Plane.js @@ -1,10 +1,6 @@ import { Matrix3 } from './Matrix3.js'; import { Vector3 } from './Vector3.js'; -/** - * @author bhouston / http://clara.io - */ - const _vector1 = new Vector3(); const _vector2 = new Vector3(); const _normalMatrix = new Matrix3(); diff --git a/src/math/Quaternion.js b/src/math/Quaternion.js index 1274bfa188..92879dd577 100644 --- a/src/math/Quaternion.js +++ b/src/math/Quaternion.js @@ -1,10 +1,3 @@ -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - * @author WestLangley / http://github.com/WestLangley - * @author bhouston / http://clara.io - */ - import { MathUtils } from './MathUtils.js'; function Quaternion( x = 0, y = 0, z = 0, w = 1 ) { diff --git a/src/math/Ray.js b/src/math/Ray.js index dbb6a0d9a1..992cebc992 100644 --- a/src/math/Ray.js +++ b/src/math/Ray.js @@ -9,10 +9,6 @@ const _edge1 = new Vector3(); const _edge2 = new Vector3(); const _normal = new Vector3(); -/** - * @author bhouston / http://clara.io - */ - function Ray( origin, direction ) { this.origin = ( origin !== undefined ) ? origin : new Vector3(); diff --git a/src/math/Sphere.js b/src/math/Sphere.js index 0bc8ffb37e..3e5824fc92 100644 --- a/src/math/Sphere.js +++ b/src/math/Sphere.js @@ -3,11 +3,6 @@ import { Vector3 } from './Vector3.js'; const _box = new Box3(); -/** - * @author bhouston / http://clara.io - * @author mrdoob / http://mrdoob.com/ - */ - function Sphere( center, radius ) { this.center = ( center !== undefined ) ? center : new Vector3(); diff --git a/src/math/Spherical.js b/src/math/Spherical.js index 274b5b1da5..ec9de649d9 100644 --- a/src/math/Spherical.js +++ b/src/math/Spherical.js @@ -1,7 +1,4 @@ /** - * @author bhouston / http://clara.io - * @author WestLangley / http://github.com/WestLangley - * * Ref: https://en.wikipedia.org/wiki/Spherical_coordinate_system * * The polar angle (phi) is measured from the positive y-axis. The positive y-axis is up. diff --git a/src/math/SphericalHarmonics3.js b/src/math/SphericalHarmonics3.js index f8e162094d..4e168b2e9e 100644 --- a/src/math/SphericalHarmonics3.js +++ b/src/math/SphericalHarmonics3.js @@ -1,9 +1,6 @@ import { Vector3 } from './Vector3.js'; /** - * @author bhouston / http://clara.io - * @author WestLangley / http://github.com/WestLangley - * * Primary reference: * https://graphics.stanford.edu/papers/envmap/envmap.pdf * diff --git a/src/math/Triangle.js b/src/math/Triangle.js index 969f6f469e..23aea3a2c4 100644 --- a/src/math/Triangle.js +++ b/src/math/Triangle.js @@ -1,11 +1,6 @@ import { Vector3 } from './Vector3.js'; import { Plane } from './Plane.js'; -/** - * @author bhouston / http://clara.io - * @author mrdoob / http://mrdoob.com/ - */ - const _v0 = new Vector3(); const _v1 = new Vector3(); const _v2 = new Vector3(); diff --git a/src/math/Vector2.js b/src/math/Vector2.js index b5f21aba0b..110eee3984 100644 --- a/src/math/Vector2.js +++ b/src/math/Vector2.js @@ -1,10 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author philogb / http://blog.thejit.org/ - * @author egraether / http://egraether.com/ - * @author zz85 / http://www.lab4games.net/zz85/blog - */ - function Vector2( x = 0, y = 0 ) { this.x = x; diff --git a/src/math/Vector3.js b/src/math/Vector3.js index dceda83347..eab0a3a4b0 100644 --- a/src/math/Vector3.js +++ b/src/math/Vector3.js @@ -1,15 +1,6 @@ import { MathUtils } from './MathUtils.js'; import { Quaternion } from './Quaternion.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author kile / http://kile.stravaganza.org/ - * @author philogb / http://blog.thejit.org/ - * @author mikael emtinger / http://gomo.se/ - * @author egraether / http://egraether.com/ - * @author WestLangley / http://github.com/WestLangley - */ - const _vector = new Vector3(); const _quaternion = new Quaternion(); diff --git a/src/math/Vector4.js b/src/math/Vector4.js index 0c897d189b..40be4d9153 100644 --- a/src/math/Vector4.js +++ b/src/math/Vector4.js @@ -1,11 +1,3 @@ -/** - * @author supereggbert / http://www.paulbrunt.co.uk/ - * @author philogb / http://blog.thejit.org/ - * @author mikael emtinger / http://gomo.se/ - * @author egraether / http://egraether.com/ - * @author WestLangley / http://github.com/WestLangley - */ - function Vector4( x = 0, y = 0, z = 0, w = 1 ) { this.x = x; diff --git a/src/math/interpolants/CubicInterpolant.js b/src/math/interpolants/CubicInterpolant.js index c06e120d70..cbfa8a3468 100644 --- a/src/math/interpolants/CubicInterpolant.js +++ b/src/math/interpolants/CubicInterpolant.js @@ -8,8 +8,6 @@ import { WrapAroundEnding, ZeroSlopeEnding } from '../../constants.js'; * It was derived from a Hermitian construction setting the first derivative * at each sample position to the linear slope between neighboring positions * over their parameter interval. - * - * @author tschw */ function CubicInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) { diff --git a/src/math/interpolants/DiscreteInterpolant.js b/src/math/interpolants/DiscreteInterpolant.js index 5d3f8e6005..c4c66210aa 100644 --- a/src/math/interpolants/DiscreteInterpolant.js +++ b/src/math/interpolants/DiscreteInterpolant.js @@ -4,8 +4,6 @@ import { Interpolant } from '../Interpolant.js'; * * Interpolant that evaluates to the sample value at the position preceeding * the parameter. - * - * @author tschw */ function DiscreteInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) { diff --git a/src/math/interpolants/LinearInterpolant.js b/src/math/interpolants/LinearInterpolant.js index 42a12a17cc..245d96b81f 100644 --- a/src/math/interpolants/LinearInterpolant.js +++ b/src/math/interpolants/LinearInterpolant.js @@ -1,9 +1,5 @@ import { Interpolant } from '../Interpolant.js'; -/** - * @author tschw - */ - function LinearInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) { Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer ); diff --git a/src/math/interpolants/QuaternionLinearInterpolant.js b/src/math/interpolants/QuaternionLinearInterpolant.js index 46d3eb2be6..969d937a52 100644 --- a/src/math/interpolants/QuaternionLinearInterpolant.js +++ b/src/math/interpolants/QuaternionLinearInterpolant.js @@ -3,8 +3,6 @@ import { Quaternion } from '../Quaternion.js'; /** * Spherical linear unit quaternion interpolant. - * - * @author tschw */ function QuaternionLinearInterpolant( parameterPositions, sampleValues, sampleSize, resultBuffer ) { diff --git a/src/objects/Bone.js b/src/objects/Bone.js index bbe66db0cc..3d375cadd4 100644 --- a/src/objects/Bone.js +++ b/src/objects/Bone.js @@ -1,11 +1,5 @@ import { Object3D } from '../core/Object3D.js'; -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - * @author ikerr / http://verold.com - */ - function Bone() { Object3D.call( this ); diff --git a/src/objects/LOD.js b/src/objects/LOD.js index b8086d3c21..d4d6322f43 100644 --- a/src/objects/LOD.js +++ b/src/objects/LOD.js @@ -1,12 +1,6 @@ import { Vector3 } from '../math/Vector3.js'; import { Object3D } from '../core/Object3D.js'; -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - */ - const _v1 = new Vector3(); const _v2 = new Vector3(); diff --git a/src/objects/LineLoop.js b/src/objects/LineLoop.js index 9fc29cd88d..29c5adeabc 100644 --- a/src/objects/LineLoop.js +++ b/src/objects/LineLoop.js @@ -1,9 +1,5 @@ import { Line } from './Line.js'; -/** - * @author mgreter / http://github.com/mgreter - */ - function LineLoop( geometry, material ) { Line.call( this, geometry, material ); diff --git a/src/objects/Mesh.js b/src/objects/Mesh.js index b7b3354af6..3818da9dd4 100644 --- a/src/objects/Mesh.js +++ b/src/objects/Mesh.js @@ -10,13 +10,6 @@ import { DoubleSide, BackSide } from '../constants.js'; import { MeshBasicMaterial } from '../materials/MeshBasicMaterial.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author mikael emtinger / http://gomo.se/ - * @author jonobr1 / http://jonobr1.com/ - */ - const _inverseMatrix = new Matrix4(); const _ray = new Ray(); const _sphere = new Sphere(); diff --git a/src/objects/Points.js b/src/objects/Points.js index 43afc3a659..c1e6611e92 100644 --- a/src/objects/Points.js +++ b/src/objects/Points.js @@ -6,10 +6,6 @@ import { Vector3 } from '../math/Vector3.js'; import { PointsMaterial } from '../materials/PointsMaterial.js'; import { BufferGeometry } from '../core/BufferGeometry.js'; -/** - * @author alteredq / http://alteredqualia.com/ - */ - const _inverseMatrix = new Matrix4(); const _ray = new Ray(); const _sphere = new Sphere(); diff --git a/src/objects/Skeleton.js b/src/objects/Skeleton.js index b674fbf0f2..ca6202b71d 100644 --- a/src/objects/Skeleton.js +++ b/src/objects/Skeleton.js @@ -1,12 +1,5 @@ import { Matrix4 } from '../math/Matrix4.js'; -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - * @author michael guerrero / http://realitymeltdown.com - * @author ikerr / http://verold.com - */ - const _offsetMatrix = new Matrix4(); const _identityMatrix = new Matrix4(); diff --git a/src/objects/SkinnedMesh.js b/src/objects/SkinnedMesh.js index bace39052f..da543daa08 100644 --- a/src/objects/SkinnedMesh.js +++ b/src/objects/SkinnedMesh.js @@ -1,9 +1,3 @@ -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - * @author ikerr / http://verold.com - */ - import { Mesh } from './Mesh.js'; import { Matrix4 } from '../math/Matrix4.js'; import { Vector3 } from '../math/Vector3.js'; diff --git a/src/objects/Sprite.js b/src/objects/Sprite.js index dc85c25d48..10752020b0 100644 --- a/src/objects/Sprite.js +++ b/src/objects/Sprite.js @@ -1,8 +1,3 @@ -/** - * @author mikael emtinger / http://gomo.se/ - * @author alteredq / http://alteredqualia.com/ - */ - import { Vector2 } from '../math/Vector2.js'; import { Vector3 } from '../math/Vector3.js'; import { Matrix4 } from '../math/Matrix4.js'; diff --git a/src/renderers/WebGL1Renderer.js b/src/renderers/WebGL1Renderer.js index d76197ddca..b0206cb820 100644 --- a/src/renderers/WebGL1Renderer.js +++ b/src/renderers/WebGL1Renderer.js @@ -1,9 +1,5 @@ import { WebGLRenderer } from './WebGLRenderer.js'; -/** - * @author Mugen87 / https://github.com/Mugen87 - */ - function WebGL1Renderer( parameters ) { WebGLRenderer.call( this, parameters ); diff --git a/src/renderers/WebGLCubeRenderTarget.js b/src/renderers/WebGLCubeRenderTarget.js index 91d2c2f780..57be6de46f 100644 --- a/src/renderers/WebGLCubeRenderTarget.js +++ b/src/renderers/WebGLCubeRenderTarget.js @@ -7,11 +7,6 @@ import { cloneUniforms } from './shaders/UniformsUtils.js'; import { WebGLRenderTarget } from './WebGLRenderTarget.js'; import { CubeCamera } from '../cameras/CubeCamera.js'; -/** - * @author alteredq / http://alteredqualia.com - * @author WestLangley / http://github.com/WestLangley - */ - function WebGLCubeRenderTarget( size, options, dummy ) { if ( Number.isInteger( options ) ) { diff --git a/src/renderers/WebGLMultisampleRenderTarget.js b/src/renderers/WebGLMultisampleRenderTarget.js index 1cc028184c..e487fb3e80 100644 --- a/src/renderers/WebGLMultisampleRenderTarget.js +++ b/src/renderers/WebGLMultisampleRenderTarget.js @@ -1,10 +1,5 @@ import { WebGLRenderTarget } from './WebGLRenderTarget.js'; -/** - * @author Mugen87 / https://github.com/Mugen87 - * @author Matt DesLauriers / @mattdesl - */ - function WebGLMultisampleRenderTarget( width, height, options ) { WebGLRenderTarget.call( this, width, height, options ); diff --git a/src/renderers/WebGLRenderTarget.js b/src/renderers/WebGLRenderTarget.js index b5aa413e65..521965dd87 100644 --- a/src/renderers/WebGLRenderTarget.js +++ b/src/renderers/WebGLRenderTarget.js @@ -3,12 +3,6 @@ import { Texture } from '../textures/Texture.js'; import { LinearFilter } from '../constants.js'; import { Vector4 } from '../math/Vector4.js'; -/** - * @author szimek / https://github.com/szimek/ - * @author alteredq / http://alteredqualia.com/ - * @author Marius Kintel / https://github.com/kintel - */ - /* In options, we can specify: * Texture parameters for an auto-generated target texture diff --git a/src/renderers/WebGLRenderer.js b/src/renderers/WebGLRenderer.js index 5907448419..05efc18486 100644 --- a/src/renderers/WebGLRenderer.js +++ b/src/renderers/WebGLRenderer.js @@ -1,11 +1,3 @@ -/** - * @author supereggbert / http://www.paulbrunt.co.uk/ - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author szimek / https://github.com/szimek/ - * @author tschw - */ - import { RGBAFormat, HalfFloatType, diff --git a/src/renderers/shaders/ShaderLib.js b/src/renderers/shaders/ShaderLib.js index c8efa86e6c..afe75f83e9 100644 --- a/src/renderers/shaders/ShaderLib.js +++ b/src/renderers/shaders/ShaderLib.js @@ -6,12 +6,6 @@ import { UniformsLib } from './UniformsLib.js'; import { Color } from '../../math/Color.js'; import { Matrix3 } from '../../math/Matrix3.js'; -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - * @author mikael emtinger / http://gomo.se/ - */ - const ShaderLib = { basic: { diff --git a/src/renderers/webgl/WebGLBindingStates.js b/src/renderers/webgl/WebGLBindingStates.js index 7bda8ad69d..a08bf43bb3 100644 --- a/src/renderers/webgl/WebGLBindingStates.js +++ b/src/renderers/webgl/WebGLBindingStates.js @@ -1,9 +1,4 @@ -/** - * @author Mugen87 / https://github.com/Mugen87 - * @author Takahiro / https://github.com/takahirox - */ - -function WebGLBindingStates( gl, extensions, attributes, capabilities ) { +function WebGLBindingStates( gl, extensions, attributes, capabilities ) { const maxVertexAttributes = gl.getParameter( gl.MAX_VERTEX_ATTRIBS ); diff --git a/src/renderers/webgl/WebGLClipping.js b/src/renderers/webgl/WebGLClipping.js index ecdcfeefc8..978a46204f 100644 --- a/src/renderers/webgl/WebGLClipping.js +++ b/src/renderers/webgl/WebGLClipping.js @@ -1,7 +1,3 @@ -/** - * @author tschw - */ - import { Matrix3 } from '../../math/Matrix3.js'; import { Plane } from '../../math/Plane.js'; diff --git a/src/renderers/webgl/WebGLInfo.js b/src/renderers/webgl/WebGLInfo.js index 355d3da97b..6cbfe41340 100644 --- a/src/renderers/webgl/WebGLInfo.js +++ b/src/renderers/webgl/WebGLInfo.js @@ -1,7 +1,3 @@ -/** - * @author Mugen87 / https://github.com/Mugen87 - */ - function WebGLInfo( gl ) { const memory = { diff --git a/src/renderers/webgl/WebGLProperties.js b/src/renderers/webgl/WebGLProperties.js index cf44285ef8..42d34a3559 100644 --- a/src/renderers/webgl/WebGLProperties.js +++ b/src/renderers/webgl/WebGLProperties.js @@ -1,7 +1,3 @@ -/** - * @author fordacious / fordacious.github.io - */ - function WebGLProperties() { let properties = new WeakMap(); diff --git a/src/renderers/webgl/WebGLRenderStates.js b/src/renderers/webgl/WebGLRenderStates.js index 9fb24d73bd..c6da1edb78 100644 --- a/src/renderers/webgl/WebGLRenderStates.js +++ b/src/renderers/webgl/WebGLRenderStates.js @@ -1,7 +1,3 @@ -/** - * @author Mugen87 / https://github.com/Mugen87 - */ - import { WebGLLights } from './WebGLLights.js'; function WebGLRenderState() { diff --git a/src/renderers/webgl/WebGLShadowMap.js b/src/renderers/webgl/WebGLShadowMap.js index f9a05f156b..167692fa9e 100644 --- a/src/renderers/webgl/WebGLShadowMap.js +++ b/src/renderers/webgl/WebGLShadowMap.js @@ -1,8 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - * @author mrdoob / http://mrdoob.com/ - */ - import { FrontSide, BackSide, DoubleSide, RGBAFormat, NearestFilter, LinearFilter, PCFShadowMap, VSMShadowMap, RGBADepthPacking, NoBlending } from '../../constants.js'; import { WebGLRenderTarget } from '../WebGLRenderTarget.js'; import { MeshDepthMaterial } from '../../materials/MeshDepthMaterial.js'; diff --git a/src/renderers/webgl/WebGLUniforms.js b/src/renderers/webgl/WebGLUniforms.js index b636778ee9..7c830adfa5 100644 --- a/src/renderers/webgl/WebGLUniforms.js +++ b/src/renderers/webgl/WebGLUniforms.js @@ -1,8 +1,4 @@ /** - * @author tschw - * @author Mugen87 / https://github.com/Mugen87 - * @author mrdoob / http://mrdoob.com/ - * * Uniforms of a program. * Those form a tree structure with a special top-level container for the root, * which you get by calling 'new WebGLUniforms( gl, program )'. diff --git a/src/renderers/webgl/WebGLUtils.js b/src/renderers/webgl/WebGLUtils.js index f765fd1084..fb180aa2c3 100644 --- a/src/renderers/webgl/WebGLUtils.js +++ b/src/renderers/webgl/WebGLUtils.js @@ -1,7 +1,3 @@ -/** - * @author thespite / http://www.twitter.com/thespite - */ - import { RGBA_ASTC_4x4_Format, RGBA_ASTC_5x4_Format, RGBA_ASTC_5x5_Format, RGBA_ASTC_6x5_Format, RGBA_ASTC_6x6_Format, RGBA_ASTC_8x5_Format, RGBA_ASTC_8x6_Format, RGBA_ASTC_8x8_Format, RGBA_ASTC_10x5_Format, RGBA_ASTC_10x6_Format, RGBA_ASTC_10x8_Format, RGBA_ASTC_10x10_Format, RGBA_ASTC_12x10_Format, RGBA_ASTC_12x12_Format, RGB_ETC1_Format, RGB_ETC2_Format, RGBA_ETC2_EAC_Format, RGBA_PVRTC_2BPPV1_Format, RGBA_PVRTC_4BPPV1_Format, RGB_PVRTC_2BPPV1_Format, RGB_PVRTC_4BPPV1_Format, RGBA_S3TC_DXT5_Format, RGBA_S3TC_DXT3_Format, RGBA_S3TC_DXT1_Format, RGB_S3TC_DXT1_Format, DepthFormat, DepthStencilFormat, LuminanceAlphaFormat, LuminanceFormat, RedFormat, RGBAFormat, RGBFormat, AlphaFormat, RedIntegerFormat, RGFormat, RGIntegerFormat, RGBIntegerFormat, RGBAIntegerFormat, HalfFloatType, FloatType, UnsignedIntType, IntType, UnsignedShortType, ShortType, ByteType, UnsignedInt248Type, UnsignedShort565Type, UnsignedShort5551Type, UnsignedShort4444Type, UnsignedByteType, SRGB8_ALPHA8_ASTC_4x4_Format, SRGB8_ALPHA8_ASTC_5x4_Format, SRGB8_ALPHA8_ASTC_5x5_Format, SRGB8_ALPHA8_ASTC_6x5_Format, SRGB8_ALPHA8_ASTC_6x6_Format, SRGB8_ALPHA8_ASTC_8x5_Format, SRGB8_ALPHA8_ASTC_8x6_Format, SRGB8_ALPHA8_ASTC_8x8_Format, SRGB8_ALPHA8_ASTC_10x5_Format, SRGB8_ALPHA8_ASTC_10x6_Format, SRGB8_ALPHA8_ASTC_10x8_Format, SRGB8_ALPHA8_ASTC_10x10_Format, SRGB8_ALPHA8_ASTC_12x10_Format, SRGB8_ALPHA8_ASTC_12x12_Format, RGBA_BPTC_Format } from '../../constants.js'; function WebGLUtils( gl, extensions, capabilities ) { diff --git a/src/renderers/webxr/WebXRController.js b/src/renderers/webxr/WebXRController.js index 632cafbd0d..a703112c0c 100644 --- a/src/renderers/webxr/WebXRController.js +++ b/src/renderers/webxr/WebXRController.js @@ -1,7 +1,3 @@ -/** - * @author Mugen87 / https://github.com/Mugen87 - */ - import { Group } from '../../objects/Group.js'; function WebXRController() { diff --git a/src/renderers/webxr/WebXRManager.js b/src/renderers/webxr/WebXRManager.js index 300d46f4ac..862e06e194 100644 --- a/src/renderers/webxr/WebXRManager.js +++ b/src/renderers/webxr/WebXRManager.js @@ -273,8 +273,6 @@ function WebXRManager( renderer, gl ) { const cameraRPos = new Vector3(); /** - * @author jsantell / https://www.jsantell.com/ - * * Assumes 2 cameras that are parallel and share an X-axis, and that * the cameras' projection and world matrices have already been set. * And that near and far planes are identical for both cameras. diff --git a/src/scenes/Fog.js b/src/scenes/Fog.js index 2bcdfeff26..7463fa21a8 100644 --- a/src/scenes/Fog.js +++ b/src/scenes/Fog.js @@ -1,8 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - import { Color } from '../math/Color.js'; function Fog( color, near, far ) { diff --git a/src/scenes/FogExp2.js b/src/scenes/FogExp2.js index 526e06446f..ecf721ed93 100644 --- a/src/scenes/FogExp2.js +++ b/src/scenes/FogExp2.js @@ -1,8 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - */ - import { Color } from '../math/Color.js'; function FogExp2( color, density ) { diff --git a/src/textures/CompressedTexture.js b/src/textures/CompressedTexture.js index 9e800e5974..223491079f 100644 --- a/src/textures/CompressedTexture.js +++ b/src/textures/CompressedTexture.js @@ -1,7 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - */ - import { Texture } from './Texture.js'; function CompressedTexture( mipmaps, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy, encoding ) { diff --git a/src/textures/DataTexture.js b/src/textures/DataTexture.js index 6516bec9d0..7b5ce5395e 100644 --- a/src/textures/DataTexture.js +++ b/src/textures/DataTexture.js @@ -1,7 +1,3 @@ -/** - * @author alteredq / http://alteredqualia.com/ - */ - import { Texture } from './Texture.js'; import { NearestFilter } from '../constants.js'; diff --git a/src/textures/DataTexture2DArray.js b/src/textures/DataTexture2DArray.js index a1d32ec0cd..5d016e0912 100644 --- a/src/textures/DataTexture2DArray.js +++ b/src/textures/DataTexture2DArray.js @@ -1,7 +1,3 @@ -/** - * @author Takahiro https://github.com/takahirox - */ - import { Texture } from './Texture.js'; import { ClampToEdgeWrapping, NearestFilter } from '../constants.js'; diff --git a/src/textures/DataTexture3D.js b/src/textures/DataTexture3D.js index 0e65d27a4f..53fa1d84b9 100644 --- a/src/textures/DataTexture3D.js +++ b/src/textures/DataTexture3D.js @@ -1,7 +1,3 @@ -/** - * @author Artur Trzesiok - */ - import { Texture } from './Texture.js'; import { ClampToEdgeWrapping, NearestFilter } from '../constants.js'; diff --git a/src/textures/DepthTexture.js b/src/textures/DepthTexture.js index 9800e18583..609772c606 100644 --- a/src/textures/DepthTexture.js +++ b/src/textures/DepthTexture.js @@ -1,8 +1,3 @@ -/** - * @author Matt DesLauriers / @mattdesl - * @author atix / arthursilber.de - */ - import { Texture } from './Texture.js'; import { NearestFilter, UnsignedShortType, UnsignedInt248Type, DepthFormat, DepthStencilFormat } from '../constants.js'; diff --git a/src/textures/Texture.js b/src/textures/Texture.js index 9a8e7b2015..417c7f5427 100644 --- a/src/textures/Texture.js +++ b/src/textures/Texture.js @@ -1,9 +1,3 @@ -/** - * @author mrdoob / http://mrdoob.com/ - * @author alteredq / http://alteredqualia.com/ - * @author szimek / https://github.com/szimek/ - */ - import { EventDispatcher } from '../core/EventDispatcher.js'; import { MirroredRepeatWrapping, -- GitLab