Skip to content

Commit

Permalink
Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Oct 5, 2015
1 parent 774c3d4 commit a7b5188
Show file tree
Hide file tree
Showing 266 changed files with 312 additions and 310 deletions.
2 changes: 1 addition & 1 deletion examples/js/AnimationClipCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @author David Sarno / http://lighthaus.us/
*/

THREE.AnimationClipCreator = function AnimationClipCreator () {
THREE.AnimationClipCreator = function AnimationClipCreator() {
};

THREE.AnimationClipCreator.CreateRotationAnimation = function( period, axis ) {
Expand Down
2 changes: 1 addition & 1 deletion examples/js/BlendCharacter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author Michael Guerrero / http://realitymeltdown.com
*/

THREE.BlendCharacter = function BlendCharacter () {
THREE.BlendCharacter = function BlendCharacter() {

this.animations = {};
this.weightSchedule = [];
Expand Down
2 changes: 1 addition & 1 deletion examples/js/Car.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/
*/

THREE.Car = function Car () {
THREE.Car = function Car() {

var scope = this;

Expand Down
4 changes: 2 additions & 2 deletions examples/js/GPUParticleSystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
*/

THREE.GPUParticleSystem = function GPUParticleSystem ( options ) {
THREE.GPUParticleSystem = function GPUParticleSystem( options ) {

var self = this;
var options = options || {};
Expand Down Expand Up @@ -282,7 +282,7 @@ THREE.GPUParticleSystem.prototype.constructor = THREE.GPUParticleSystem;


// Subclass for particle containers, allows for very large arrays to be spread out
THREE.GPUParticleContainer = function GPUParticleContainer ( maxParticles, particleSystem ) {
THREE.GPUParticleContainer = function GPUParticleContainer( maxParticles, particleSystem ) {

var self = this;
self.PARTICLE_COUNT = maxParticles || 100000;
Expand Down
2 changes: 1 addition & 1 deletion examples/js/Gyroscope.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/
*/

THREE.Gyroscope = function Gyroscope () {
THREE.Gyroscope = function Gyroscope() {

THREE.Object3D.call( this );

Expand Down
2 changes: 1 addition & 1 deletion examples/js/MD2Character.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/
*/

THREE.MD2Character = function MD2Character () {
THREE.MD2Character = function MD2Character() {

var scope = this;

Expand Down
2 changes: 1 addition & 1 deletion examples/js/MD2CharacterComplex.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/
*/

THREE.MD2CharacterComplex = function MD2CharacterComplex () {
THREE.MD2CharacterComplex = function MD2CharacterComplex() {

var scope = this;

Expand Down
2 changes: 1 addition & 1 deletion examples/js/MarchingCubes.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* http://webglsamples.googlecode.com/hg/blob/blob.html
*/

THREE.MarchingCubes = function MarchingCubes ( resolution, material, enableUvs, enableColors ) {
THREE.MarchingCubes = function MarchingCubes( resolution, material, enableUvs, enableColors ) {

THREE.ImmediateRenderObject.call( this, material );

Expand Down
2 changes: 1 addition & 1 deletion examples/js/Mirror.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ THREE.ShaderLib[ 'mirror' ] = {

};

THREE.Mirror = function Mirror ( renderer, camera, options ) {
THREE.Mirror = function Mirror( renderer, camera, options ) {

THREE.Object3D.call( this );

Expand Down
2 changes: 1 addition & 1 deletion examples/js/MorphAnimMesh.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author alteredq / http://alteredqualia.com/
*/

THREE.MorphAnimMesh = function MorphAnimMesh ( geometry, material ) {
THREE.MorphAnimMesh = function MorphAnimMesh( geometry, material ) {

THREE.Mesh.call( this, geometry, material );

Expand Down
2 changes: 1 addition & 1 deletion examples/js/MorphAnimation.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author willy-vvu / http://willy-vvu.github.io
*/

THREE.MorphAnimation = function MorphAnimation ( mesh ) {
THREE.MorphAnimation = function MorphAnimation( mesh ) {

this.mesh = mesh;
this.frames = mesh.morphTargetInfluences.length;
Expand Down
2 changes: 1 addition & 1 deletion examples/js/Ocean.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
THREE.Ocean = function Ocean ( renderer, camera, scene, options ) {
THREE.Ocean = function Ocean( renderer, camera, scene, options ) {

// flag used to trigger parameter changes
this.changed = true;
Expand Down
6 changes: 3 additions & 3 deletions examples/js/Octree.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
=====================================================*/

THREE.Octree = function Octree ( parameters ) {
THREE.Octree = function Octree( parameters ) {

// handle parameters

Expand Down Expand Up @@ -618,7 +618,7 @@
=====================================================*/

THREE.OctreeObjectData = function OctreeObjectData ( object, part ) {
THREE.OctreeObjectData = function OctreeObjectData( object, part ) {

// properties

Expand Down Expand Up @@ -719,7 +719,7 @@
=====================================================*/

THREE.OctreeNode = function OctreeNode ( parameters ) {
THREE.OctreeNode = function OctreeNode( parameters ) {

// utility

Expand Down
2 changes: 1 addition & 1 deletion examples/js/SkyShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ THREE.ShaderLib[ 'sky' ] = {

};

THREE.Sky = function Sky () {
THREE.Sky = function Sky() {

var skyShader = THREE.ShaderLib[ "sky" ];
var skyUniforms = THREE.UniformsUtils.clone( skyShader.uniforms );
Expand Down
2 changes: 1 addition & 1 deletion examples/js/UCSCharacter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
THREE.UCSCharacter = function UCSCharacter () {
THREE.UCSCharacter = function UCSCharacter() {

var scope = this;

Expand Down
2 changes: 1 addition & 1 deletion examples/js/WaterShader.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ THREE.ShaderLib[ 'water' ] = {

};

THREE.Water = function Water ( renderer, camera, scene, options ) {
THREE.Water = function Water( renderer, camera, scene, options ) {

THREE.Object3D.call( this );
this.name = 'water_' + this.id;
Expand Down
2 changes: 1 addition & 1 deletion examples/js/cameras/CombinedCamera.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/


THREE.CombinedCamera = function CombinedCamera ( width, height, fov, near, far, orthoNear, orthoFar ) {
THREE.CombinedCamera = function CombinedCamera( width, height, fov, near, far, orthoNear, orthoFar ) {

THREE.Camera.call( this );

Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/DeviceOrientationControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* W3C Device Orientation control (http://w3c.github.io/deviceorientation/spec-source-orientation.html)
*/

THREE.DeviceOrientationControls = function DeviceOrientationControls ( object ) {
THREE.DeviceOrientationControls = function DeviceOrientationControls( object ) {

var scope = this;

Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/DragControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author zz85 / https://github.com/zz85
* Running this will allow you to drag three.js objects around the screen.
*/
THREE.DragControls = function DragControls ( _camera, _objects, _domElement ) {
THREE.DragControls = function DragControls( _camera, _objects, _domElement ) {

var _projector = new THREE.Projector();
var _raycaster = new THREE.Raycaster();
Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/EditorControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @author WestLangley / http://github.com/WestLangley
*/

THREE.EditorControls = function EditorControls ( object, domElement ) {
THREE.EditorControls = function EditorControls( object, domElement ) {

domElement = ( domElement !== undefined ) ? domElement : document;

Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/FirstPersonControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @author paulirish / http://paulirish.com/
*/

THREE.FirstPersonControls = function FirstPersonControls ( object, domElement ) {
THREE.FirstPersonControls = function FirstPersonControls( object, domElement ) {

this.object = object;
this.target = new THREE.Vector3( 0, 0, 0 );
Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/FlyControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author James Baicoianu / http://www.baicoianu.com/
*/

THREE.FlyControls = function FlyControls ( object, domElement ) {
THREE.FlyControls = function FlyControls( object, domElement ) {

this.object = object;

Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/MouseControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This controls allow to change the orientation of the camera using the mouse
*/

THREE.MouseControls = function MouseControls ( object ) {
THREE.MouseControls = function MouseControls( object ) {

var scope = this;
var PI_2 = Math.PI / 2;
Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/OrbitControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
// Zoom - middle mouse, or mousewheel / touch: two finger spread or squish
// Pan - right mouse, or arrow keys / touch: three finter swipe

THREE.OrbitControls = function OrbitControls ( object, domElement ) {
THREE.OrbitControls = function OrbitControls( object, domElement ) {

var constraint = new OrbitConstraint( object );

Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/OrthographicTrackballControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @author Max Smolens / https://github.com/msmolens
*/

THREE.OrthographicTrackballControls = function OrthographicTrackballControls ( object, domElement ) {
THREE.OrthographicTrackballControls = function OrthographicTrackballControls( object, domElement ) {

var _this = this;
var STATE = { NONE: - 1, ROTATE: 0, ZOOM: 1, PAN: 2, TOUCH_ROTATE: 3, TOUCH_ZOOM_PAN: 4 };
Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/PointerLockControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author mrdoob / http://mrdoob.com/
*/

THREE.PointerLockControls = function PointerLockControls ( camera ) {
THREE.PointerLockControls = function PointerLockControls( camera ) {

var scope = this;

Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/TrackballControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @author Luca Antiga / http://lantiga.github.io
*/

THREE.TrackballControls = function TrackballControls ( object, domElement ) {
THREE.TrackballControls = function TrackballControls( object, domElement ) {

var _this = this;
var STATE = { NONE: - 1, ROTATE: 0, ZOOM: 1, PAN: 2, TOUCH_ROTATE: 3, TOUCH_ZOOM_PAN: 4 };
Expand Down
10 changes: 5 additions & 5 deletions examples/js/controls/TransformControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@

var pickerMaterial = gizmoMaterial( { visible: false, transparent: false } );

THREE.TransformGizmo = function TransformGizmo () {
THREE.TransformGizmo = function TransformGizmo() {

var scope = this;

Expand Down Expand Up @@ -218,7 +218,7 @@

};

THREE.TransformGizmoTranslate = function TransformGizmoTranslate () {
THREE.TransformGizmoTranslate = function TransformGizmoTranslate() {

THREE.TransformGizmo.call( this );

Expand Down Expand Up @@ -351,7 +351,7 @@
THREE.TransformGizmoTranslate.prototype = Object.create( THREE.TransformGizmo.prototype );
THREE.TransformGizmoTranslate.prototype.constructor = THREE.TransformGizmoTranslate;

THREE.TransformGizmoRotate = function TransformGizmoRotate () {
THREE.TransformGizmoRotate = function TransformGizmoRotate() {

THREE.TransformGizmo.call( this );

Expand Down Expand Up @@ -501,7 +501,7 @@
THREE.TransformGizmoRotate.prototype = Object.create( THREE.TransformGizmo.prototype );
THREE.TransformGizmoRotate.prototype.constructor = THREE.TransformGizmoRotate;

THREE.TransformGizmoScale = function TransformGizmoScale () {
THREE.TransformGizmoScale = function TransformGizmoScale() {

THREE.TransformGizmo.call( this );

Expand Down Expand Up @@ -601,7 +601,7 @@
THREE.TransformGizmoScale.prototype = Object.create( THREE.TransformGizmo.prototype );
THREE.TransformGizmoScale.prototype.constructor = THREE.TransformGizmoScale;

THREE.TransformControls = function TransformControls ( camera, domElement ) {
THREE.TransformControls = function TransformControls( camera, domElement ) {

// TODO: Make non-uniform scale and rotate play nice in hierarchies
// TODO: ADD RXYZ contol
Expand Down
2 changes: 1 addition & 1 deletion examples/js/controls/VRControls.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* @author mrdoob / http://mrdoob.com
*/

THREE.VRControls = function VRControls ( object, onError ) {
THREE.VRControls = function VRControls( object, onError ) {

var scope = this;

Expand Down
2 changes: 1 addition & 1 deletion examples/js/curves/NURBSCurve.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* NURBS curve
**************************************************************/

THREE.NURBSCurve = function NURBSCurve ( degree, knots /* array of reals */, controlPoints /* array of Vector(2|3|4) */ ) {
THREE.NURBSCurve = function NURBSCurve( degree, knots /* array of reals */, controlPoints /* array of Vector(2|3|4) */ ) {

this.degree = degree;
this.knots = knots;
Expand Down
2 changes: 1 addition & 1 deletion examples/js/curves/NURBSSurface.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* NURBS surface
**************************************************************/

THREE.NURBSSurface = function NURBSSurface ( degree1, degree2, knots1, knots2 /* arrays of reals */, controlPoints /* array^2 of Vector(2|3|4) */ ) {
THREE.NURBSSurface = function NURBSSurface( degree1, degree2, knots1, knots2 /* arrays of reals */, controlPoints /* array^2 of Vector(2|3|4) */ ) {

this.degree1 = degree1;
this.degree2 = degree2;
Expand Down
2 changes: 1 addition & 1 deletion examples/js/effects/AnaglyphEffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @author alteredq / http://alteredqualia.com/
*/

THREE.AnaglyphEffect = function AnaglyphEffect ( renderer, width, height ) {
THREE.AnaglyphEffect = function AnaglyphEffect( renderer, width, height ) {

var eyeRight = new THREE.Matrix4();
var eyeLeft = new THREE.Matrix4();
Expand Down
2 changes: 1 addition & 1 deletion examples/js/effects/AsciiEffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* 16 April 2012 - @blurspline
*/

THREE.AsciiEffect = function AsciiEffect ( renderer, charSet, options ) {
THREE.AsciiEffect = function AsciiEffect( renderer, charSet, options ) {

// its fun to create one your own!

Expand Down
2 changes: 1 addition & 1 deletion examples/js/effects/ParallaxBarrierEffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @author alteredq / http://alteredqualia.com/
*/

THREE.ParallaxBarrierEffect = function ParallaxBarrierEffect ( renderer ) {
THREE.ParallaxBarrierEffect = function ParallaxBarrierEffect( renderer ) {

var eyeRight = new THREE.Matrix4();
var eyeLeft = new THREE.Matrix4();
Expand Down
2 changes: 1 addition & 1 deletion examples/js/effects/StereoEffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Off-axis stereoscopic effect based on http://paulbourke.net/stereographics/stereorender/
*/

THREE.StereoEffect = function StereoEffect ( renderer ) {
THREE.StereoEffect = function StereoEffect( renderer ) {

// API

Expand Down
2 changes: 1 addition & 1 deletion examples/js/effects/VREffect.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
*/

THREE.VREffect = function VREffect ( renderer, onError ) {
THREE.VREffect = function VREffect( renderer, onError ) {

var vrHMD;
var eyeTranslationL, eyeFOVL;
Expand Down
2 changes: 1 addition & 1 deletion examples/js/exporters/OBJExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @author mrdoob / http://mrdoob.com/
*/

THREE.OBJExporter = function OBJExporter () {};
THREE.OBJExporter = function OBJExporter() {};

THREE.OBJExporter.prototype = {

Expand Down
2 changes: 1 addition & 1 deletion examples/js/exporters/STLBinaryExporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @author mudcube / http://mudcu.be/
*/

THREE.STLBinaryExporter = function STLBinaryExporter () {};
THREE.STLBinaryExporter = function STLBinaryExporter() {};

THREE.STLBinaryExporter.prototype = {

Expand Down
Loading

0 comments on commit a7b5188

Please sign in to comment.