User Tools

Site Tools


4rpl:commands:cross

This is an old revision of the document!


Index
Vectors

Cross

Cross(<-vector1 <-vector2) ->crossProduct

Description

Calculates the cross product of two vectors. The result is a new vector. NOTE: This routine works with 3 dimensional vectors and less. It does not work with 4 dimensional vectors (the 4th number, w, will be treated as zero).

Examples

trace(Cross(V3(1 2 3) V3 (5 3 1))

Index

4rpl/commands/cross.1614956972.txt.gz · Last modified: 2025/02/14 14:56 (external edit)