Readonly
is0
0
0
Computes the Manhattan length (distance) from this vector to the given vector v
see Taxicab Geometry
Computes the Manhattan length of this vector.
see Taxicab Geometry
Returns an array [x, y, z], or copies x, y and z into the provided array.
Optional
array: number[](optional) array to store the vector to. If this is not provided, a new array will be created.
Optional
offset: number(optional) optional offset into the array.
The created or provided array.
Optional
array: Vector3TupleOptional
offset: 0Copies x, y and z into the provided array-like.
array-like to store the vector to.
Optional
offset: number(optional) optional offset into the array-like.
The provided array-like.
Generated using TypeDoc
3D vector.
see https://github.com/mrdoob/three.js/blob/master/src/math/Vector3.js
Example