mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00: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 @@ 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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user