MCPcopy
hub / github.com/mrdoob/three.js / cross

Method cross

src/math/Vector3.js:856–860  ·  view source on GitHub ↗

* Calculates the cross product of the given vector with this instance. * * @param {Vector3} v - The vector to compute the cross product with. * @return {Vector3} The result of the cross product.

( v )

Source from the content-addressed store, hash-verified

854 * @return {Vector3} The result of the cross product.
855 */
856 cross( v ) {
857
858 return this.crossVectors( this, v );
859
860 }
861
862 /**
863 * Calculates the cross product of the given vectors and stores the result

Callers 15

computeVertexNormalsMethod · 0.95
Vector2.tests.jsFile · 0.45
Vector3.tests.jsFile · 0.45
MatcapUV.jsFile · 0.45
ColorAdjustment.jsFile · 0.45
BumpMapNode.jsFile · 0.45
PMREMUtils.jsFile · 0.45
Bitangent.jsFile · 0.45
Normal.jsFile · 0.45
TangentUtils.jsFile · 0.45
AccessorsUtils.jsFile · 0.45

Calls 1

crossVectorsMethod · 0.95

Tested by

no test coverage detected