Difference between revisions of "VectorA:cross"
From ComputerCraft Wiki
(Changing float to number) |
|||
Line 3: | Line 3: | ||
|name=vector:cross | |name=vector:cross | ||
|args=[[vector (API)|vector]] vect | |args=[[vector (API)|vector]] vect | ||
− | |returns= | + | |returns={{type|number}} |
|api=vector | |api=vector | ||
|addon=ComputerCraft | |addon=ComputerCraft |
Latest revision as of 13:20, 18 July 2013
Function vector:cross | |
Returns the vector which resulted in the cross product of the two vectors. | |
Syntax | vector:cross(vector vect) |
Returns | number |
Part of | ComputerCraft |
API | vector |
Examples
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 [1]