Skip to content

Commit

Permalink
Omit unusable option, see #123
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed May 7, 2024
1 parent bf40a1c commit 413e1c8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/buoyancy/model/ApplicationsMass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ import Ray3 from '../../../../dot/js/Ray3.js';
import Vector2 from '../../../../dot/js/Vector2.js';
import Vector3 from '../../../../dot/js/Vector3.js';
import Bounds3 from '../../../../dot/js/Bounds3.js';
import StrictOmit from '../../../../phet-core/js/types/StrictOmit.js';

export type ApplicationsMassOptions = InstrumentedMassOptions;
export type ApplicationsMassOptions = StrictOmit<InstrumentedMassOptions, 'canRotate'>;

export default abstract class ApplicationsMass extends Mass {

Expand All @@ -29,8 +30,6 @@ export default abstract class ApplicationsMass extends Mass {

protected constructor( engine: PhysicsEngine, displacementVolumeProperty: NumberProperty, options: ApplicationsMassOptions ) {

assert && assert( !options.canRotate );

super( engine, options );

this.displacementVolumeProperty = displacementVolumeProperty;
Expand Down

0 comments on commit 413e1c8

Please sign in to comment.