Project

General

Profile

« Previous | Next » 

Revision ece89b28

Added by Leszek Koltunski about 4 years ago

Adjustment to Static's API.

View differences:

src/main/java/org/distorted/library/type/Static2D.java
73 73
 *
74 74
 * @param ox new value of the first float.
75 75
 */
76
  public void set1(float ox)
76
  public void set0(float ox)
77 77
    {
78 78
    x = ox;
79 79
    }
......
84 84
 *
85 85
 * @param oy new value of the second float.
86 86
 */
87
  public void set2(float oy)
87
  public void set1(float oy)
88 88
    {
89 89
    y = oy;
90 90
    }
......
95 95
 *
96 96
 * @return The first float.
97 97
 */
98
  public float get1()
98
  public float get0()
99 99
    {
100 100
    return x;
101 101
    }
......
106 106
 * 
107 107
 * @return The second float.
108 108
 */
109
  public float get2()
109
  public float get1()
110 110
    {
111 111
    return y;  
112 112
    }

Also available in: Unified diff