mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-21 04:49:51 +08:00
Added static ZERO, UNIT_X, UNIT_Y, UNIT_Z, and ONE fields to Vector.
This commit is contained in:
parent
e787013bad
commit
b710f919d5
@ -24,6 +24,12 @@
|
||||
* @author sk89q
|
||||
*/
|
||||
public class Vector implements Comparable<Vector> {
|
||||
public static Vector ZERO = new Vector(0, 0, 0);
|
||||
public static Vector UNIT_X = new Vector(1, 0, 0);
|
||||
public static Vector UNIT_Y = new Vector(0, 1, 0);
|
||||
public static Vector UNIT_Z = new Vector(0, 0, 1);
|
||||
public static Vector ONE = new Vector(1, 1, 1);
|
||||
|
||||
protected final double x, y, z;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user