Difference between revisions of "VectorA:cross"
From ComputerCraft Wiki
Line 3: | Line 3: | ||
|name=vector:cross | |name=vector:cross | ||
|args=[[vector (API)|vector]] vect | |args=[[vector (API)|vector]] vect | ||
− | |returns=[[ | + | |returns=[[float (term)|float]] |
|api=vector | |api=vector | ||
|addon=ComputerCraft | |addon=ComputerCraft |
Revision as of 14:19, 23 February 2013
Function vector:cross | |
Returns the vector which resulted in the cross product of the two vectors. | |
Syntax | vector:cross(vector vect) |
Returns | float |
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]