Changeset 9374 for 2017/30/MikkoH/Sq


Ignore:
Timestamp:
2017-08-02 22:03:52 (2 years ago)
Author:
mianhayr
Message:
 
Location:
2017/30/MikkoH/Sq
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2017/30/MikkoH/Sq/Sq/Sq/Sq.cs

    r9373 r9374  
    4545        for (int i = 0; i < sqs.Count; i++) 
    4646        { 
    47             sqs[i].mag += sqs[i].magc = (glmin+(sqs[i].maxmag - sqs[i].mag) / // scales change to [glmin,glmax] 
    48                 (sqs[i].maxmag)*(glmax-glmin)) * Math.Sign(sqs[i].magc);      // and reduces current magnitude 
     47            sqs[i].mag += sqs[i].magc = (glmin+(sqs[i].maxmag-sqs[i].mag) / // scales change to [glmin,glmax] 
     48                (sqs[i].maxmag)*(glmax-glmin)) * Math.Sign(sqs[i].magc);    // and reduces current magnitude 
    4949 
    5050            for (int j = 0; j < sqs[i].Count; j++) 
Note: See TracChangeset for help on using the changeset viewer.