Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted by ConfluenceCloudBulkEditor.py

...

Returns a vector which is the right handed cross product of vector1 and vector2

Scroll pagebreak

Examples

...

languagetext
vector $a = <<1.0, 0.0, 0.0>>;

...


vector $b = <<1.0, 1.0, 0.0>>;

...


// show that a x b is not equal to b x a

...


print("a x b = " + string(cross($a, $b)));

...


print("b x a = " + string(cross($b, $a)));

Additional information

Related commands

...