VectorA:add
From ComputerCraft Wiki
Revision as of 09:12, 23 February 2013 by MafiaMoe (Talk | contribs) (Created page with "Returns the result of the two vectors local a = vector.new(1, 2, 3) local b = vector.new(4, 5, 6) local c = a:add(b) print(c.x) print(c.y) print(c.z) --5 --7 --9")
Returns the result of the two vectors
local a = vector.new(1, 2, 3) local b = vector.new(4, 5, 6) local c = a:add(b) print(c.x) print(c.y) print(c.z) --5 --7 --9