crossProductMagnitudeSquared Method

Compute the squared magnitude of a cross product (without allocating a temporary vector object)

crossProductMagnitudeSquared(vectorB: Readonly<WritableXYAndZ>): number

Parameter Type Description
vectorB Readonly<WritableXYAndZ> second vector of cross product

Returns - number

the squared magnitude of the cross product of this instance with vectorB.

Defined in

Last Updated: 20 June, 2023