Skip to content

crossProduct

crossProduct(a, b): number

Defined in: src/util/misc/vectors.ts:74

Cross product of two vectors in 2D

Parameters

a

Point

b

Point

Returns

number

the magnitude of Z vector