sizedCrossProduct Method

Compute cross product with vectorB.

sizedCrossProduct(vectorB: Vector3d, productLength: number, result?: Vector3d): undefined | Vector3d

Parameter Type Description
vectorB Vector3d second vector for cross product.
productLength number desired length of result vector.
result Vector3d optional preallocated vector

Returns - undefined | Vector3d

undefined if the cross product is near zero length.

Defined in

Last Updated: 11 June, 2024