Added static ZERO, UNIT_X, UNIT_Y, UNIT_Z, and ONE fields to Vector.

Dieser Commit ist enthalten in:
TomyLobo 2013-07-31 10:29:17 +02:00
Ursprung e787013bad
Commit b710f919d5

Datei anzeigen

@ -24,6 +24,12 @@ package com.sk89q.worldedit;
* @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;
/**