Ignore:
Timestamp:
09/18/18 12:02:44 (6 years ago)
Author:
bln4
Message:

Used Eclipse refactoring to encapsulate Point.X and Point.Y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/Vector.java

    r1102 r1144  
    8686        public float getX(int x)
    8787        {
    88                 return (x - Origin.x) / Scale;
     88                return (x - Origin.getY()) / Scale;
    8989        }
    9090
     
    9292        public float getY(int y)
    9393        {
    94                 return (y - Origin.y) / Scale;
     94                return (y - Origin.getY()) / Scale;
    9595        }
    9696
Note: See TracChangeset for help on using the changeset viewer.