Go to: Synopsis. Return value. Related. MEL examples.

Synopsis

cross vector vector

cross is undoable, NOT queryable, and NOT editable.

This command returns the cross product of two vectors.

Return value

vectorCross product value

Related

angle, dot, mag

MEL examples

vector $u=<<1,2,-2>>, $v=<<3,0,1>>;
$w=cross($u, $v);
// Result: <<2, -7, -6>>  //