emerald-extension / cn.berberman.emerald.extension / org.bukkit.util.Vector

Extensions for org.bukkit.util.Vector

div operator fun Vector.div(vector: Vector): Vector
Divides the vector by another.
get operator fun Vector.get(axis3D: Axis3D): Double
Get a one-dimension value from this vector.
minus operator fun Vector.minus(vector: Vector): Vector
Subtracts a vector from this one.
plus operator fun Vector.plus(vector: Vector): Vector
Adds a vector to this one
set operator fun Vector.set(axis3D: Axis3D, double: Double): Unit
Set a one-dimension value to this vector.
times operator fun Vector.times(vector: Vector): Vector
Multiplies the vector by another.operator fun Vector.times(double: Double): Vector
Performs scalar multiplication, multiplying all components with a scalar.