Skip to content

Commit

Permalink
Supply z=0, see phetsims/dot#85
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Feb 16, 2019
1 parent 6f73805 commit a9ef098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/model/wire/BatteryToSwitchWire.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ define( function( require ) {

// y coordinate of the horizontal wire
var horizontalY = circuitSwitch.getConnectionPoint( CircuitState.BATTERY_CONNECTED ).y;
var leftCorner = new Vector3( battery.location.x, horizontalY );
var leftCorner = new Vector3( battery.location.x, horizontalY, 0 );

// add the vertical segment.
var verticalSegment;
Expand Down

0 comments on commit a9ef098

Please sign in to comment.