Revision ece89b28
Added by Leszek Koltunski about 4 years ago
src/main/java/org/distorted/library/type/Static5D.java | ||
---|---|---|
88 | 88 |
* |
89 | 89 |
* @param ox new value of the first float. |
90 | 90 |
*/ |
91 |
public void set1(float ox)
|
|
91 |
public void set0(float ox)
|
|
92 | 92 |
{ |
93 | 93 |
x = ox; |
94 | 94 |
} |
... | ... | |
99 | 99 |
* |
100 | 100 |
* @param oy new value of the second float. |
101 | 101 |
*/ |
102 |
public void set2(float oy)
|
|
102 |
public void set1(float oy)
|
|
103 | 103 |
{ |
104 | 104 |
y = oy; |
105 | 105 |
} |
... | ... | |
110 | 110 |
* |
111 | 111 |
* @param oz new value of the third float. |
112 | 112 |
*/ |
113 |
public void set3(float oz)
|
|
113 |
public void set2(float oz)
|
|
114 | 114 |
{ |
115 | 115 |
z = oz; |
116 | 116 |
} |
... | ... | |
121 | 121 |
* |
122 | 122 |
* @param ow new value of the fourth float. |
123 | 123 |
*/ |
124 |
public void set4(float ow)
|
|
124 |
public void set3(float ow)
|
|
125 | 125 |
{ |
126 | 126 |
w = ow; |
127 | 127 |
} |
... | ... | |
132 | 132 |
* |
133 | 133 |
* @param ov new value of the fifth float. |
134 | 134 |
*/ |
135 |
public void set5(float ov)
|
|
135 |
public void set4(float ov)
|
|
136 | 136 |
{ |
137 | 137 |
v = ov; |
138 | 138 |
} |
... | ... | |
143 | 143 |
* |
144 | 144 |
* @return The first float. |
145 | 145 |
*/ |
146 |
public float get1()
|
|
146 |
public float get0()
|
|
147 | 147 |
{ |
148 | 148 |
return x; |
149 | 149 |
} |
... | ... | |
154 | 154 |
* |
155 | 155 |
* @return The second float. |
156 | 156 |
*/ |
157 |
public float get2()
|
|
157 |
public float get1()
|
|
158 | 158 |
{ |
159 | 159 |
return y; |
160 | 160 |
} |
161 | 161 |
|
162 |
|
|
163 | 162 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
164 | 163 |
/** |
165 | 164 |
* Return the value of the third float contained. |
166 | 165 |
* |
167 | 166 |
* @return The third float. |
168 | 167 |
*/ |
169 |
public float get3()
|
|
168 |
public float get2()
|
|
170 | 169 |
{ |
171 | 170 |
return z; |
172 | 171 |
} |
... | ... | |
177 | 176 |
* |
178 | 177 |
* @return The fourth float. |
179 | 178 |
*/ |
180 |
public float get4()
|
|
179 |
public float get3()
|
|
181 | 180 |
{ |
182 | 181 |
return w; |
183 | 182 |
} |
... | ... | |
188 | 187 |
* |
189 | 188 |
* @return The fifth float. |
190 | 189 |
*/ |
191 |
public float get5()
|
|
190 |
public float get4()
|
|
192 | 191 |
{ |
193 | 192 |
return v; |
194 | 193 |
} |
Also available in: Unified diff
Adjustment to Static's API.