static crossProduct( vector1 = new Vector( 0, 0, 0 ), vector2 = new Vector( 0, 0, 0 ) ) {
			let firstCoords = [...vector1.coords],
				otherCoords = [...vector2.coords],
				greatest = Math.max( firstCoords.length, otherCoords.length );
			if( greatest > 3 ) {
			  throw Error( 'All vectors must be 3D or less.' );
			}
			[firstCoords, otherCoords].forEach( ( item ) => {
				while( item.length < greatest ) {
					item.push( 0 );
				}
			} );
			let product = new Vector( ...Array( 3 ).fill( undefined ).map( ( _, index ) => {
			  let _others = others[index];
			  return firstCoords[_others[0]] * otherCoords[_others[1]] - firstCoords[_others[1]] * otherCoords[_others[0]];
			} ) );
			return product;
		}
/**
		 * Find the [Cross Product](https://en.wikipedia.org/wiki/Cross_product) of two vectors. The resulting vector is at 90 degree angles to the other two.
		 * @param {Vector} vector1 The first vector.
		 * @param {Vector} vector2 The second vector.
		 * @returns {Vector} The resulting cross product.
		 * @memberof Vector
		 */
Find the [Cross Product] of two vectors. The resulting vector is at 90 degree angles to the other two.
@param {Vector} vector1 The first vector.
@param {Vector} vector2 The second vector.
@returns {Vector} The resulting cross product.
@memberof Vector
Find the [ Cross Product ] of two vectors . The resulting vector is at 90 degree angles to the other two . @param { Vector } vector1 The first vector . @param { Vector } vector2 The second vector . @returns { Vector } The resulting cross product . @memberof Vector
static crossProduct( vector1 = new Vector( 0, 0, 0 ), vector2 = new Vector( 0, 0, 0 ) ) {
			let firstCoords = [...vector1.coords],
				otherCoords = [...vector2.coords],
				greatest = Math.max( firstCoords.length, otherCoords.length );
			if( greatest > 3 ) {
			  throw Error( 'All vectors must be 3D or less.' );
			}
			[firstCoords, otherCoords].forEach( ( item ) => {
				while( item.length < greatest ) {
					item.push( 0 );
				}
			} );
			let product = new Vector( ...Array( 3 ).fill( undefined ).map( ( _, index ) => {
			  let _others = others[index];
			  return firstCoords[_others[0]] * otherCoords[_others[1]] - firstCoords[_others[1]] * otherCoords[_others[0]];
			} ) );
			return product;
		}
static crossProduct ( vector1 = new Vector ( 0 , 0 , 0 ) , vector2 = new Vector ( 0 , 0 , 0 ) ) { let firstCoords = [ ... vector1 . coords ] , otherCoords = [ ... vector2 . coords ] , greatest = Math . max ( firstCoords . length , otherCoords . length ) ; if ( greatest > 3 ) { throw Error ( 'All vectors must be 3D or less.' ) ; } [ firstCoords , otherCoords ] . forEach ( ( item ) => { while ( item . length < greatest ) { item . push ( 0 ) ; } } ) ; let product = new Vector ( ... Array ( 3 ) . fill ( undefined ) . map ( ( _ , index ) => { let _others = others [ index ] ; return firstCoords [ _others [ 0 ] ] * otherCoords [ _others [ 1 ] ] - firstCoords [ _others [ 1 ] ] * otherCoords [ _others [ 0 ] ] ; } ) ) ; return product ; }
Find the [Cross Product](https://en.wikipedia.org/wiki/Cross_product) of two vectors.
Find the [ Cross Product ] ( https : // en . wikipedia . org / wiki / Cross_product ) of two vectors .