You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// @private - if in coulomb's law sim, add pusher and zero force images in proper orderthis.zeroForceIndex=null;if(options.attractNegative){this.pullerPusherImages=pushImages.concat(zeroForceImage).concat(pullImages);this.zeroForceIndex=31;}
@mbarlow12 can you please include documentation about why it is necessary to keep a reference to zeroForceIndex? Also, could zeroForceIndex be set without the magic number? Would this work?
// @private - if in coulomb's law sim, add pusher and zero force images in proper orderthis.zeroForceIndex=null;if(options.attractNegative){this.pullerPusherImages=pushImages.concat(zeroForceImage).concat(pullImages);this.zeroForceIndex=pushImages.length-1;this.pullerPusherImages.concat(pullImages);}
The text was updated successfully, but these errors were encountered:
For #30. ISLCPullerNode has
@mbarlow12 can you please include documentation about why it is necessary to keep a reference to zeroForceIndex? Also, could zeroForceIndex be set without the magic number? Would this work?
The text was updated successfully, but these errors were encountered: