dos_tripleproduct - dalefugier/DOSLib GitHub Wiki

Calculates the triple product of three 3D vectors.

Syntax

(dos_tripleproduct vector1 vector2 vector3)

Parameters

vector1

The first vector.

vector2

The second vector.

vector3

The third vector.

Returns

The triple dot product, if successful.

nil on error.

Example

Command: (dos_tripleproduct '(1 0 0) '(0 1 0) '(0 0 1))
1