geforkt von Mirrors/FastAsyncWorldEdit
Added static ZERO, UNIT_X, UNIT_Y, UNIT_Z, and ONE fields to Vector.
Dieser Commit ist enthalten in:
Ursprung
e787013bad
Commit
b710f919d5
@ -24,6 +24,12 @@ package com.sk89q.worldedit;
|
|||||||
* @author sk89q
|
* @author sk89q
|
||||||
*/
|
*/
|
||||||
public class Vector implements Comparable<Vector> {
|
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;
|
protected final double x, y, z;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren