mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
[Doc] Clarify the behavior of Vector2/3.cross and mention parallel vectors
(cherry picked from commit 47a8033698)
This commit is contained in:
committed by
Rémi Verschelde
parent
1db5090dcd
commit
a9988c5501
@@ -56,6 +56,7 @@
|
||||
<argument index="0" name="b" type="Vector3" />
|
||||
<description>
|
||||
Returns the cross product of this vector and [code]b[/code].
|
||||
This returns a vector perpendicular to both this and [param with], which would be the normal vector of the plane defined by the two vectors. As there are two such vectors, in opposite directions, this method returns the vector defined by a right-handed coordinate system. If the two vectors are parallel this returns an empty vector, making it useful for testing if two vectors are parallel.
|
||||
</description>
|
||||
</method>
|
||||
<method name="cubic_interpolate">
|
||||
|
||||
Reference in New Issue
Block a user