Skip to content

Commit

Permalink
Remove unused constant, see #300
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Jan 6, 2019
1 parent d506013 commit d739b92
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/common/model/TemporalMask.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ define( require => {
// value worked much better empirically. This is a speed in lattice cells per time step, which is the same for each
// scene
const waveSpeed = Math.sqrt( 2 ) / 3;
const I = WaveInterferenceConstants.POINT_SOURCE_HORIZONTAL_COORDINATE;

class TemporalMask {

Expand Down Expand Up @@ -65,7 +64,7 @@ define( require => {
const delta = this.deltas[ k ];
if ( delta.on ) {

const di = I - i;
const di = WaveInterferenceConstants.POINT_SOURCE_HORIZONTAL_COORDINATE - i;
const dj = delta.j - j;
const distance = Math.sqrt( di * di + dj * dj );

Expand Down

0 comments on commit d739b92

Please sign in to comment.