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) doubledivide(double d) divide(double x, double y, double z) doubledotProduct(VectorW vector) booleanintintintgetW()inthashCode()doublelength()doublemultiply(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
-