Skip to main content

Function: cross2d()

cross2d(a, b): number

Defined in: src/utils/spaceOps.ts:58

2D cross product (z-component of the 3D cross of the first two components). ManimCE cross2d for single vectors.

Parameters​

a​

number[]

b​

number[]

Returns​

number