mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 17:57:38 +00:00
Added Vector2D.toVector(double y).
This commit is contained in:
parent
7c71617dbf
commit
eafde8cc49
@ -575,6 +575,15 @@ public class Vector2D {
|
|||||||
return new Vector(x, 0, z);
|
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.
|
* Gets the minimum components of two vectors.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user