Skip to content

Commit

Permalink
Update documentation, see #287
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Aug 6, 2024
1 parent a7b19a9 commit 65d00d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/common/model/Mass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,8 @@ export default abstract class Mass extends PhetioObject {
},
applyState( mass: Mass, obj: MassIOStateObject ) {

// Some of the following attributes are not public, but are settable since this IO Type is declared as a static
// class member. This is preferable to making the attributes public everywhere.
const SIZE_SCALE = DensityBuoyancyCommonQueryParameters.p2SizeScale;

mass.matrix.set( Matrix3.fromStateObject( obj.matrix ) );
Expand Down

0 comments on commit 65d00d9

Please sign in to comment.