Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Sep 20, 2019
1 parent 8e925b7 commit affe54d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/common/model/engine/AbstractPhaseStateChanger.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,10 @@ define( require => {

let posX;
let posY;
let minInitialInterParticleDistance;
const moleculeDataSet = this.multipleParticleModel.moleculeDataSet;
const moleculeCenterOfMassPositions = moleculeDataSet.moleculeCenterOfMassPositions;

minInitialInterParticleDistance = 1.2; // empirically chosen
const minInitialInterParticleDistance = 1.2; // empirically chosen
const rangeX = this.multipleParticleModel.normalizedContainerWidth - ( 2 * MIN_INITIAL_PARTICLE_TO_WALL_DISTANCE );
const rangeY = this.multipleParticleModel.normalizedContainerHeight - ( 2 * MIN_INITIAL_PARTICLE_TO_WALL_DISTANCE );
for ( let i = 0; i < rangeX / minInitialInterParticleDistance; i++ ) {
Expand Down

0 comments on commit affe54d

Please sign in to comment.