Vector.new
From ComputerCraft Wiki
Revision as of 08:54, 23 February 2013 by MafiaMoe (Talk | contribs) (Created page with "Returns a table with the labels "x", "y" and "z" containing the coordinates of the vector. local a = vector.new(1, 2, 3) save(a, "vector") print(a.x) print(a.y) print(...")
Returns a table with the labels "x", "y" and "z" containing the coordinates of the vector.
local a = vector.new(1, 2, 3) save(a, "vector") print(a.x) print(a.y) print(a.z) //1 //2 //3