Difference between revisions of "VectorA:mul"
From ComputerCraft Wiki
(Changing int to number) |
|||
| Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=vector:mul | |name=vector:mul | ||
| − | |args= | + | |args={{type|number}} multiplier |
|returns=[[vector (API)|vector]] | |returns=[[vector (API)|vector]] | ||
|api=vector | |api=vector | ||
Latest revision as of 13:11, 18 July 2013
| Multiplies a vector with a scalar and returns the resulting vector. | |
| Syntax | vector:mul(number multiplier) |
| Returns | vector |
| Part of | ComputerCraft |
| API | vector |
Examples