Skip to content

Commit

Permalink
remove extra spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
veillette committed Jul 29, 2021
1 parent 5a8ea9d commit 769dc9b
Show file tree
Hide file tree
Showing 25 changed files with 209 additions and 250 deletions.
3 changes: 0 additions & 3 deletions js/common/GeometricOpticsColors.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import geometricOptics from '../geometricOptics.js';

const GeometricOpticsColors = {


//--------------------------------------------------------------------------
// SCREEN

Expand All @@ -30,7 +29,6 @@ const GeometricOpticsColors = {
default: 'rgb(255, 255, 255)'
} ),


//--------------------------------------------------------------------------
// FOCAL POINT

Expand Down Expand Up @@ -92,7 +90,6 @@ const GeometricOpticsColors = {
default: 'rgb(27,27,96)'
} ),


//--------------------------------------------------------------------------
// GUIDES

Expand Down
3 changes: 0 additions & 3 deletions js/common/GeometricOpticsConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ const GeometricOpticsConstants = {
MIRROR_RADIUS_OF_CURVATURE_RANGE: new RangeWithValue( 150, 250, 200 ), // centimeters
MIRROR_DIAMETER_RANGE: new RangeWithValue( 30, 150, 80 ), // centimeters


//----------------------------------------------------------------------------------------
// FOCAL POINT
FOCAL_POINT_OPTIONS: {
Expand All @@ -63,7 +62,6 @@ const GeometricOpticsConstants = {

SECOND_SOURCE_POINT_OPTIONS: { radius: 5 },


//----------------------------------------------------------------------------------------
// OPTICAL AXIS

Expand All @@ -80,7 +78,6 @@ const GeometricOpticsConstants = {

OPTICAL_ELEMENT_LINE_WIDTH: 2,


//--------------------------------------------------------------------------------------
// RULER

Expand Down
1 change: 0 additions & 1 deletion js/common/GeometricOpticsQueryParameters.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const GeometricOpticsQueryParameters = QueryStringMachine.getAll( {
type: 'flag',
public: false
}

} );

geometricOptics.register( 'GeometricOpticsQueryParameters', GeometricOpticsQueryParameters );
Expand Down
2 changes: 0 additions & 2 deletions js/common/model/LightRay.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ class LightRay {
return this.realRays.length > 1 && distanceTraveled > distance;
}


/**
* get the first intersection Point
*
Expand Down Expand Up @@ -203,7 +202,6 @@ class LightRay {
// {Vector2|null} back shape point intersecting the transmitted ray
const backPoint = this.getPoint( backIntersection );


// add additional rays only if the front lens is hit
if ( frontPoint instanceof Vector2 ) {

Expand Down
Loading

0 comments on commit 769dc9b

Please sign in to comment.