Synopsis

void mth_CrossVector(double a[3], double b[3], double r[3])

Purpose

Compute cross product of two vectors.

Description

The cross product of vectors a and b will be computed and the result stored in r.

Input

a

First vector

b

Second vector

Output

r

Resulting vector of a cross b