Difference between revisions of "VectorA:add"
From ComputerCraft Wiki
| Line 14: | Line 14: | ||
local c = a:add(b) | local c = a:add(b) | ||
| + | --local c = a + b | ||
print(c.x) | print(c.x) | ||
Revision as of 11:54, 23 February 2013
| Returns the result of two vectors | |
| Syntax | vector:add(vector vect) |
| Returns | vector |
| Part of | ComputerCraft |
| API | vector |