geforkt von Mirrors/FastAsyncWorldEdit
Added Vector2D.toVector(double y).
Dieser Commit ist enthalten in:
Ursprung
7c71617dbf
Commit
eafde8cc49
@ -575,6 +575,15 @@ public class Vector2D {
|
||||
return new Vector(x, 0, z);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a 3D vector by adding the specified Y component to this vector.
|
||||
*
|
||||
* @return Vector
|
||||
*/
|
||||
public Vector toVector(double y) {
|
||||
return new Vector(x, y, z);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the minimum components of two vectors.
|
||||
*
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren