Skip to content

dos_wedgeproduct

Dale Fugier edited this page Nov 1, 2023 · 1 revision

Calculates the wedge product, or the signed area of the parallelogram, of two 2D vectors.

Syntax

(dos_wedgeproduct vector1 vector2)

Parameters

vector1

The first vector.

vector2

The second vector.

Returns

The wedge product, if successful.

nil on error.

Example

Command: (dos_wedgeproduct '(5 0) '(3 2))
10
Clone this wiki locally