Copies value of v to this vector.
Adds v to this vector.
Sets this vector to a + b.
Subtracts v from this vector.
Sets this vector to a - b.
Computes dot product of this vector and v.
Computes the Manhattan length of this vector.
see Taxicab Geometry
Sets this vector to cross product of itself and v.
Sets this vector to cross product of a and b.
Computes distance of this vector to v.
Computes squared distance of this vector to v.
Computes the Manhattan length (distance) from this vector to the given vector v
see Taxicab Geometry
Sets this vector's x, y and z components from the x, y, and z components of the specified Euler Angle.
Checks for strict equality of this vector and v.
Returns an array [x, y, z], or copies x, y and z into the provided array.
Optionalarray: number[](optional) array to store the vector to. If this is not provided, a new array will be created.
Optionaloffset: number(optional) optional offset into the array.
The created or provided array.
Optionalarray: Vector3TupleOptionaloffset: 0Copies x, y and z into the provided array-like.
array-like to store the vector to.
Optionaloffset: number(optional) optional offset into the array-like.
The provided array-like.
3D vector.
see https://github.com/mrdoob/three.js/blob/master/src/math/Vector3.js
Example