From ComputerCraft Wiki
|Returns the vector which resulted in the cross product of the two vectors.|
|Creates a cross product of two vectors and prints the resulting vector.|
local a = vector.new(1, 2, 3) local b = vector.new(4, 5, 6) local c = a:cross(b) print(c.x) print(c.y) print(c.z) --(-3) --6 --(-3)
It is important to note that a:cross(b) will not usually equal b:cross(a).
More information about cross products can be found at