Skip to content

Commit

Permalink
uninstrument the atom location, #75
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Dec 11, 2018
1 parent 6673f28 commit 3f42e0f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions js/friction/model/Atom.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ define( function( require ) {
const friction = require( 'FRICTION/friction' );
const inherit = require( 'PHET_CORE/inherit' );
const Property = require( 'AXON/Property' );
const PropertyIO = require( 'AXON/PropertyIO' );
const Vector2 = require( 'DOT/Vector2' );
const Vector2IO = require( 'DOT/Vector2IO' );

// constants
let EVAPORATED_SPEED = 400; // speed that particles travel during evaporation, in model units per second
Expand Down Expand Up @@ -44,11 +42,7 @@ define( function( require ) {
this.isEvaporated = false;

// @public {Property.<Vector2>} - the position of the atom
this.positionProperty = new Property( initialPosition, {
phetioType: PropertyIO( Vector2IO ),
tandem: tandem.createTandem( 'positionProperty' ),
phetioHighFrequency: true
} );
this.positionProperty = new Property( initialPosition );

// @private {Vector2} - the center position, around which oscillations occur
this.centerPosition = new Vector2( initialPosition.x, initialPosition.y );
Expand Down

0 comments on commit 3f42e0f

Please sign in to comment.