Revision ece89b28
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/library/type/Static3D.java | ||
---|---|---|
78 | 78 |
* |
79 | 79 |
* @param ox new value of the first float. |
80 | 80 |
*/ |
81 |
public void set1(float ox)
|
|
81 |
public void set0(float ox)
|
|
82 | 82 |
{ |
83 | 83 |
x = ox; |
84 | 84 |
} |
... | ... | |
89 | 89 |
* |
90 | 90 |
* @param oy new value of the second float. |
91 | 91 |
*/ |
92 |
public void set2(float oy)
|
|
92 |
public void set1(float oy)
|
|
93 | 93 |
{ |
94 | 94 |
y = oy; |
95 | 95 |
} |
... | ... | |
100 | 100 |
* |
101 | 101 |
* @param oz new value of the third float. |
102 | 102 |
*/ |
103 |
public void set3(float oz)
|
|
103 |
public void set2(float oz)
|
|
104 | 104 |
{ |
105 | 105 |
z = oz; |
106 | 106 |
} |
... | ... | |
111 | 111 |
* |
112 | 112 |
* @return The first float. |
113 | 113 |
*/ |
114 |
public float get1()
|
|
114 |
public float get0()
|
|
115 | 115 |
{ |
116 | 116 |
return x; |
117 | 117 |
} |
... | ... | |
122 | 122 |
* |
123 | 123 |
* @return The second float. |
124 | 124 |
*/ |
125 |
public float get2()
|
|
125 |
public float get1()
|
|
126 | 126 |
{ |
127 | 127 |
return y; |
128 | 128 |
} |
... | ... | |
133 | 133 |
* |
134 | 134 |
* @return The third float. |
135 | 135 |
*/ |
136 |
public float get3()
|
|
136 |
public float get2()
|
|
137 | 137 |
{ |
138 | 138 |
return z; |
139 | 139 |
} |
Also available in: Unified diff
Adjustment to Static's API.