Clones this vector.
Copies value of v to this vector.
Computes distance of this vector to v.
Computes squared distance of this vector to v.
Divides this vector by scalar s. Set vector to ( 0, 0, 0 ) if s == 0.
Computes dot product of this vector and v.
Checks for strict equality of this vector and v.
Computes length of this vector.
Computes Manhattan length of this vector. http://en.wikipedia.org/wiki/Taxicab_geometry
Computes squared length of this vector.
Computes the Manhattan length (distance) from this vector to the given vector v
Computes the Manhattan length of this vector.
Multiplies this vector by scalar s.
Inverts this vector.
Normalizes this vector.
Sets value of this vector.
Normalizes this vector and multiplies it by l.
Sets all values of this vector.
Sets x value of this vector.
Sets y value of this vector.
Sets z value of this vector.
Generated using TypeDoc
3D vector.
var a = new THREE.Vector3( 1, 0, 0 ); var b = new THREE.Vector3( 0, 1, 0 ); var c = new THREE.Vector3(); c.crossVectors( a, b );
src/math/Vector3.js
( class Vector3 implements Vector )