-
成员变量 修饰符和类 成员变量描述 static int
SIDE_DOWN
static int
SIDE_EAST
static int
SIDE_NORTH
static int
SIDE_SOUTH
static int
SIDE_UP
static int
SIDE_WEST
float
x
float
y
float
z
-
构造函数 构造函数描述 Vector3f()
Vector3f(float x)
Vector3f(float x, float y)
Vector3f(float x, float y, float z)
-
All Methods Static Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 Vector3f
abs()
Vector3f
add(float x)
Vector3f
add(float x, float y)
Vector3f
add(float x, float y, float z)
Vector3f
add(Vector3f x)
BlockVector3
asBlockVector3()
Vector3
asVector3()
Vector3f
ceil()
Vector3f
clone()
Vector3f
cross(Vector3f v)
double
distance(Vector3f pos)
double
distanceSquared(Vector3f pos)
Vector3f
divide(float number)
float
dot(Vector3f v)
boolean
equals(Object obj)
Vector3f
floor()
int
getFloorX()
int
getFloorY()
int
getFloorZ()
float
getForward()
Vector3f
getIntermediateWithXValue(Vector3f v, float x)
Vector3f
getIntermediateWithYValue(Vector3f v, float y)
Vector3f
getIntermediateWithZValue(Vector3f v, float z)
static int
getOppositeSide(int side)
float
getRight()
Vector3f
getSide(int side)
Vector3f
getSide(int side, int step)
float
getSouth()
float
getUp()
float
getWest()
float
getX()
float
getY()
float
getZ()
double
length()
float
lengthSquared()
float
maxPlainDistance()
float
maxPlainDistance(float x)
float
maxPlainDistance(float x, float z)
float
maxPlainDistance(Vector2f vector)
float
maxPlainDistance(Vector3f x)
Vector3f
multiply(float number)
Vector3f
normalize()
int
rawHashCode()
Vector3f
round()
Vector3f
setComponents(float x, float y, float z)
Vector3f
subtract()
Vector3f
subtract(float x)
Vector3f
subtract(float x, float y)
Vector3f
subtract(float x, float y, float z)
Vector3f
subtract(Vector3f x)
String
toString()