User Tools

Site Tools


4rpl:commands:cross

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.txt · Last modified: 2021/03/05 10:09 by Karsten75