| * @param y
* @param z
* @return A new vector initialized to be equal to the supplied vector.
*/
public final Vector3d get(double x, double y, double z) {
Vector3d vec;
if (size == 0) {
vec = new Vector3d();
} else {
vec = pool[--size];
}
vec.set(x, y, z);
return vec;
}
|