Class VectorW
java.lang.Object
com.kamikazejam.kamicommon.util.data.VectorW
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd
(double x, double y, double z) copy()
crossProduct
(VectorW vector) double
divide
(double d) divide
(double x, double y, double z) double
dotProduct
(VectorW vector) boolean
int
int
int
getW()
int
hashCode()
double
length()
double
multiply
(double m) multiply
(double x, double y, double z) subtract
(double x, double y, double z) toVector()
zero()
-
Constructor Details
-
VectorW
-
VectorW
-
VectorW
-
VectorW
-
-
Method Details
-
getW
-
toLocation
-
toVector
-
distance
-
getBlockX
public int getBlockX() -
getBlockY
public int getBlockY() -
getBlockZ
public int getBlockZ() -
equals
-
hashCode
public int hashCode() -
add
-
subtract
-
multiply
-
divide
-
add
-
subtract
-
multiply
-
divide
-
multiply
-
divide
-
crossProduct
-
dotProduct
-
lengthSquared
public double lengthSquared() -
length
public double length() -
normalize
-
zero
-
copy
-